summaryrefslogtreecommitdiff
path: root/published/Webmonkey/Monkey_Bites/2007/08.27.07/Tue/youtube.txt
blob: a33756dae8388117965262121790a6981f66d37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Attention mash-up hounds, the youTube API has been changed. Google has [converted the YouTube API][2] to use the Google data protocol (GData) so you can now access YouTube using the same toolbox as other GData services.

The new [YouTube GData API][1] replaces to the old REST/XML-RPC methods, though Google says the old API will continue to be supported for the next year.

Similar to the old, the new API offers read-only access to user profiles, videos uploaded and videos bookmarked by user. In addition to that you can now access subscriptions, video comments, related videos, playlists and search results. 

The default output of GData is an Atom feeds so its possible to use the new API to subscribe to just about anything in your favorite RSS/Atom reader. However, if you prefer there are some other return formats including JSON.

Perhaps the best news for developers is that with GData behind YouTube, you now have access to all the [GData Client libraries][3], including those for PHP, Java, Python and more.

Though the old REST/XML-RPC API will continue to work through August 30th, 2008, Google recommends upgrading your application sooner, rather than later. Check out the handy [migration guide][4] for more details.

[1]: http://code.google.com/apis/youtube/developers_guide_protocol.html
[2]: http://apiblog.youtube.com/2007/08/new-youtube-api-released-into-wild.html
[3]: http://code.google.com/apis/gdata/clientlibs.html
[4]: http://code.google.com/apis/youtube/migration.html