Reputation: 328
I know that the Youtube Data API can be used to access the total viewCount of a video.
However, I would like to view the previous viewCount of a video based on a specific date and/or time. For example, video A currently has a viewCount of 500,000 at the current date and time but perhaps a month ago it had a viewCount of 400,000. How would I access that previous value?
Is there any Youtube API method or alternative resource that would allow me to access the previous view count of a video/list of videos?
Thank you!
Upvotes: 0
Views: 809
Reputation: 2998
This may not be possible in the YouTube Data API. However, you may have to look into the YouTube Analytics API.
To query, you have to use the reports.query
API along with the appropriate Dimensions and Metrics. For example, Dimensions would be month
and Metrics would be views
.
Upvotes: 0