在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