Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a RESTful YouTube API for iOS?

I'm trying to access YouTube from within an iOS app, but the iOS SDK is a bit outdated and the source is abysmal. I'm trying to access the playlist of a particular account and show it as part of an app.

Is there any API or URL endpoint I can use? Do I need to use the SDK, or can I manually craft HTTP requests using Objective-C? (I'm thinking LRResty or something similar.)

Edit:

Do I need to have an API key to use the RESTful API? If so, how do I obtain one?

like image 417
Moshe Avatar asked Feb 07 '12 00:02

Moshe


People also ask

Does YouTube use REST API?

The YouTube Application Programming Interface (YouTube API) allows developers to access video statistics and YouTube channels data via two types of calls, REST and XML-RPC.

Does YouTube have an open API?

The API provides the ability to retrieve feeds related to videos, users, and playlists. It also provides the ability to manipulate these feeds, such as creating new playlists, adding videos as favorites, and sending messsages.

Is the YouTube API free?

YouTube Data API costs are based on quota usage, and all requests will incur at least a 1-point quota cost. For each project, you're allowed 10,000 free quota units per day.


2 Answers

Yep: you want the Youtube Data API, probably the playlist feed. Standard HTTP requests will work fine.

like image 83
Noah Witherspoon Avatar answered Oct 11 '22 11:10

Noah Witherspoon


You can do that with RESTful way with YouTube Data API.

Here is working example which uses it.

like image 25
Kim Avatar answered Oct 11 '22 09:10

Kim