获取“订阅驱动”,Youtube API未返回UI中的所有可用数据

2024-05-23 22:38:03 发布

您现在位置:Python中文网/ 问答频道 /正文

当你查看youtube视频下的统计数据时,通常会是这样的

UI tabs

我对第三张表感兴趣。我花了一整天的时间阅读youtube的文档,但是我似乎找不到一个方法来获取它。我的问题是这样的

https://www.googleapis.com/youtube/v3/videos?part=statistics&id=VIDEOID&key=MYKEY

统计部分返回以下参数

^{pr2}$

有没有什么好方法可以得到这个数字,订阅驱动?在


Tags: 方法文档httpscom视频youtubewww时间
1条回答
网友
1楼 · 发布于 2024-05-23 22:38:03

看来您需要使用YouTube Analytics API.

有一个subscribersGained度量

In reports that use either the video dimension or the filter parameter to restrict the response to only include data for a particular video, the subscribersGained metric will only include statistics from the specified video's watch page.

相关问题 更多 >