Youtube REST API v3 - include statistics for video in search query result

前端 未结 2 1391
渐次进展
渐次进展 2021-02-20 02:27

I want to perform search queries using Youtube API v3. What I need is to retrieve video ids and statistics for each video. From the docs I can see that statistics is not returne

2条回答
  •  孤街浪徒
    2021-02-20 03:10

    In the guide, they specify "the part names that you can include in the parameter value are id and snippet" when using https://www.googleapis.com/youtube/v3/search. (statistics is not an accepted value).

    So I think that you have to make two requests as you say, at least that is what I'm doing. I couldn't find any other solution. I would be interested to know if there was a workaround...

提交回复
热议问题