Monday 17 December 2012

YouTube API version 3.0 now here


Raul Furnica, Vladimir Vuskovic and Pepijn Crouzen of the YouTube API Team has raised the curtain on the YouTube API version 3.0 in an official blog post. The post claims that YouTube API version 3.0 will enable users to to make better integrated video experiences. Elaborating further, the post adds that the new API is easy to use, courtesy the rich client library support, improved tooling, reference documentation and integration with Google’s common API infrastructure. “Version 3.0 only returns what you ask for and is using JSON rather than XML encoding for greater efficiency. The API introduces new core functionality including Freebase integration via topics, and universal search.  If you develop social media management apps, you’ll love channel bulletin post and full subscriber list management, also new in this release. Version 3.0 of the API constitutes the API's biggest overhaul to date and we’re eager for you to try it today!,” the blog post explains.

The post adds that using the new Topics API,  users can find what they're looking for by stating the Freebase topic IDs, instead of typing key words. Forn example, suppose a user (from outside of the US) is reading the post and is looking for football-related content, then they should key in the topic ID - /M/02VX4. As per the post, the API has a universal search feature, using which one can get back channels, playlists and videos matching the topic with a single request. Further, the new API version has brought better tools to the tablet to enable a user to engage and interact with his YouTube audience. Another interesting mention is the part parameter. The post adds that the new API version introduces 'part' parameter, which reduces the bandwidth requirements of user's app, since the new API version only returns the information sought as per the 'part' parameter.

The post goes on to elaborate further, "While the default JSON encoding in version 3.0 is more efficient than XML in version 2.0, if parsing JSON isn’t your thing, check out the client libraries for .NET, Dart, Go, Java, JavaScript, Objective-C, PHP, Python and Ruby. The libraries use OAuth 2.0 authorization and work with the YouTube API as well as other modern Google APIs thus simplifying your application."

It adds that Google API tools like the API console work with YouTube API version 3.0 "without any extra hassles". Further, the API reference documentation enables users to scroll down to the bottom of any reference page to try the API. Additionally, users can also visit the standalone API Explorer to browse a list of supported methods.

Interestingly, the post shares that while the new API is still experimental, there are some new apps that are trying it already. These include Showyou, an app enabling users to watch the Internet easily. It comes integrated with the Topics API, allowing users to discover related videos once they tap on topics associated with the Showyou feed. Then there is Pixability, a company specifically into YouTube marketing software. The company was able to port its Online Video Grader to the new YouTube API version. Click here (http://apiblog.youtube.com/) to view other apps that are trying the new API.

No comments:

Post a Comment