I am trying to find a way to graph out a youtube video's views with relation to time.
Something like this:
getVideoViewHistory(video_id, start-date, end-date)
Response:
{["Date": "XXXX-XX-XX",
"Views": X,
["Date": "XXXX-XX-XX",
"Views": X,
....,
]}
Is there any way to do this using the Youtube v3 api? Maybe any other alternatives? Thanks for any help!
[EDIT]: Yes, I meant the Youtube Data v3 API, thanks!
I am trying to find a way to graph out a youtube video's views with relation to time.
Something like this:
getVideoViewHistory(video_id, start-date, end-date)
Response:
{["Date": "XXXX-XX-XX",
"Views": X,
["Date": "XXXX-XX-XX",
"Views": X,
....,
]}
Is there any way to do this using the Youtube v3 api? Maybe any other alternatives? Thanks for any help!
[EDIT]: Yes, I meant the Youtube Data v3 API, thanks!
Share Improve this question edited Mar 28 at 3:28 CobaltX asked Mar 18 at 17:43 CobaltXCobaltX 255 bronze badges 01 Answer
Reset to default 1Not sure what you mean with "YouTube v3 API". Maybe you meant the YouTube Data API v3. But that doesn't give you the data you want. For that you may use the YouTube analytics API.
https://developers.google/youtube/analytics
And in particular
https://developers.google/youtube/analytics/channel_reports#video-reports