Youtube Data API retrieve channel subscribers count for past dates

半城伤御伤魂 提交于 2019-12-12 00:24:28

问题


i know that we can pull the current number of subscribers for a youtube channel using the data API, but is there a way to pull the subscribers we had in the past? for example 7 days back?

Thanks!


回答1:


There is no built in way to do a historic look at your subscribers. What you could do is retrieve your list of subscribers on a given date, and persist it yourself somewhere. Then do it again next week and compare it.

The API returns a JSON response & the look up would look like this:

https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&mySubscribers=true&key={API_KEY_GOES_HERE}

You can read more here about the syntax & parameters in the docs: Link



来源:https://stackoverflow.com/questions/21176432/youtube-data-api-retrieve-channel-subscribers-count-for-past-dates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!