Tag: youtube api v3

Youtube API v3获取用户video列表

使用Youtube API v2,可以轻松获得video。 只需发送一个这样的查询: http://gdata.youtube.com/feeds/mobile/videos?max-results=5&alt=rss&orderby=published&author=OneDirectionVEVO Youtube api v2还有一个用于构build查询的交互式演示页面: http : //gdata.youtube.com/demo/index.html 用Youtube API v3,我不知道相应的方法。 请用api v3指点一下。 谢谢!

Youtube API v3,如何获得video持续时间?

我正在使用Youtube API v3来searchYouTube。 https://developers.google.com/youtube/v3/docs/search 正如你可以看到的响应JSON不包含video持续时间。 有没有办法获得video持续时间? 最好不要再为结果中的每个元素调用API(除非这是获得持续时间的唯一方法)。