在V2,我可以用下:http://gdata.youtube.com/feeds/api/videos/?alt=json&author=XXX如何讓YouTube視頻JSON列表通過谷歌V3 API的用戶
然而,V2已被棄用,不能再使用。
Google API V3中的正確替代品是什麼?
在V2,我可以用下:http://gdata.youtube.com/feeds/api/videos/?alt=json&author=XXX如何讓YouTube視頻JSON列表通過谷歌V3 API的用戶
然而,V2已被棄用,不能再使用。
Google API V3中的正確替代品是什麼?
你應該得到你的API密鑰(用於服務器或客戶端)。
http://code.google.com/apis/console#access
並使用https://www.googleapis.com/youtube/v3/search?part=snippet&channelId={CHANNEL_ID}&key={YOUR_API_KEY}
https://developers.google.com/youtube/v3/docs/search/list
不過,也有關於這個API的一些bug報告了。
https://code.google.com/p/gdata-issues/issues/detail?id=6598
https://code.google.com/p/gdata-issues/issues/detail?id=6599
https://code.google.com/p/gdata-issues/issues/detail?id=6600