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

前端 未结 2 1442
渐次进展
渐次进展 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条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 03:10

    To avoid redundancy of data returned and not to use bandwidth with extra data, "video search data" and "video statistics" data are decoupled in API. You are right about two calls. In general, to get faster response, only use the "part" s in request that you will use in your application.

提交回复
热议问题