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?
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.
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.
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.
Yep: you want the Youtube Data API, probably the playlist feed. Standard HTTP requests will work fine.
You can do that with RESTful way with YouTube Data API.
Here is working example which uses it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With