문제

I'm using youtube to retrive some data on a youtube channel (title, id, keywords, lenght, publication-date, ...)

I want to know how to get the share count of each video in this channel. I want to build a "top 10 most shared video" of a specific channel.

도움이 되었습니까?

해결책

Have a look at the YouTube Analytics API:

https://developers.google.com/youtube/analytics/

There is a metric for retrieving the share count (shares). Use dimensions (dimensions=video&metric=shares). Alternatively, use filters if you want to retrieve the share count for a specific video: video==Zhawgd0REhA. For more info, see:

https://developers.google.com/youtube/analytics/v1/available_reports

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top