0

我正在研究 YouTube API。我对V2和V3进行分析。目前我试图检索高清视频。当我使用相同的查询时,输出不匹配。

使用 V3

https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&q=football+-soccer&start-index=1&max-results=10&videoDefinition=high&key= {开发者密钥}

使用 V2

https://gdata.youtube.com/feeds/api/videos?q=football+-soccer&orderby=published&start-index=1&max-results=10&v=2&hd&alt=jsonc

V3哪里稳定?还是我应该继续为我的项目使用 v2。

4

1 回答 1

0

我已经集成 youtube v3 一段时间了,注意到它的灵活性不如 v2。例如,在进行视频搜索时,为了获得视频的统计信息,我必须提交另一个查询。

于 2013-09-12T23:44:16.967 回答