GithubHelp home page GithubHelp logo

muhammadbassio / youtubeapi3-objective-c-wrapper Goto Github PK

View Code? Open in Web Editor NEW
61.0 6.0 13.0 204 KB

A simple wrapper for YouTube data API 3.0 written completely in Objective-C

Objective-C 98.93% C 1.07%

youtubeapi3-objective-c-wrapper's Introduction

YouTubeAPI3-Objective-C-wrapper

A simple Objective-C wrapper for most of YouTube API v3.0 functions (including OAuth2.0 implementation). Designed to make it simple to integrate YouTube functionality within your iOS app.

Install

  • Drag "YTAPI3" directory to your Xcode project.
  • Update the below parameters with yours in "YTAPI3/OAuthFrameWork/MAB_GoogleUserCredentials.h" file
static NSString *kMyClientID = @"YourClientID";
static NSString *kMyClientSecret = @"YourClientSecret";
static NSString *apiKey = @"YourAPIKey";

Enviroment

This library is ARC enabled, and requires Xcode 5 to be compiled. Tested on both iOS6 & iOS7, as well as both 32 & 64 bit processors.

Syntax

Check the demo project

Youtube Data API v3

##License

MIT License (MIT)

Copyright (c) 2014 MuhammadBassio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

youtubeapi3-objective-c-wrapper's People

Contributors

muhammadbassio avatar

Stargazers

Narayan Panthi avatar Itai Spector avatar Wei Chih Tsai avatar wyanassert avatar Justin Kaufman avatar WilliamLiao avatar zhou xingfa avatar Victor Baro avatar  avatar Pedro Cardoso avatar Tona Towne avatar jeep avatar Trujun Zhang avatar liu-b avatar  avatar Nir Golan avatar  avatar y-hryk avatar Pabital avatar Vahagn Mkrtchyan avatar Trần Ngọc Linh avatar  avatar  avatar samuele coppede avatar  avatar Ransom Weaver avatar  avatar Loreto Parisi avatar  avatar Adriaan  avatar Echo Liao avatar osxync avatar  avatar Leif Shackelford avatar  avatar Jason Young avatar Sebastian Suchanowski avatar Shane Gao avatar İsmail avatar Kiran Panesar avatar Douglas Fischer avatar Antoine Marliac avatar Ahmed Bouchfaa avatar Duc Nguyen avatar Dmitrijs Beloborodovs avatar Cameron Roth avatar Tim Kersey avatar  avatar Ruslanas Kudriavcevas avatar Erhan Bayraktar avatar omar avatar  avatar Indrajit Chakrabarty avatar Janak Nirmal avatar Chintan R Dave avatar  avatar  avatar Emmanuel A. Simon avatar SuperFancy avatar Dmytro Vlasenko avatar yanndupuy avatar

Watchers

James Cloos avatar yanndupuy avatar  avatar Dhananjay Prajapati avatar  avatar  avatar

youtubeapi3-objective-c-wrapper's Issues

Users uploaded Videos

How can I get a

  • URL list of all of the signed in users uploaded youtube videos?
  • Their title, description and thumbnail?

This project has no example to show that

How to upload a video

This project worked well in logging a user in to his youtube account but how does one upload a Video? How would you do that? I can't figure it out

Needs more documentation

I recommend adding something like

#pragma message "Needs filling in!"
#pragma message "Go to http://xyz.com/foo to register an API key"

to your pch file. Also, the stuff in the pch file that needs to be copied to a user's pch file should be moved into a different file

OAuth not working

The OAuth is not working as Google now requires OAuth to be routed through the browsers and it cannot be done through the webviews.

more at demo project

i checked demo project but seems like there is only some script that will authenticate.
please add some more code for getting user playlist or shows video title etc..

sorry for my bad english

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.