Вопрос

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!

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top