Skip to main content

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?


Comments

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

    ReplyDelete
  2. I'm not sure if this is the SDK you are talking about being outdated, but the GDataLibrary for Objective-C can make the connections for you.

    http://code.google.com/p/gdata-objectivec-client/

    I have been using it to make connections to Google Spreadsheets and its been working pretty well. You can choose to implement select services from the Project so it doesn't weigh your project down at compile time with code that doesn't mean anything to you.

    I believe that this library is a pretty looking wrapper for Google Services API's in Objective-C

    Here is information on how to set it up for use with your project.

    GData Introduction

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?