In familia de API-uri si wizard-uri Google, s-a nascut o alta stea. Vechiul protocol Youtube ( API Call Interfaces: REST Interface, XML-RPC Interface) intra in familia GData (RSS, Atom, JSON).
Exista un help pentru migrare, si vechiul protocol va mai functiona inca un an.
“The Legacy API will continue to be functional through August 30th, 2008. After that, its existence is not guaranteed. We encourage you to switch earlier rather than later, as issues that come up with the Legacy API will be low priority.”
Sintaxa interogarilor se va modifica de la
http://www.youtube.com/api2_rest?method=youtube.videos.get_details&dev_id=dev_id&video_id=video_id
la
http://gdata.youtube.com/feeds/videos?vq=funny+dogs&start-index=20&max-results=15
Avantajul este ca ai scapat de codul de dezvoltator. Poti interoga direct feed-ul cu filme.
Anunturile oficiale despre aceasta schimbare: Important Info for YouTube Developers, youtube api released into wild
Afisari :363Tags: dezvoltatori, gdata










