How to get share count of a youtube video using yo

2019-06-02 20:56发布

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.

1条回答
我想做一个坏孩纸
2楼-- · 2019-06-02 21:47

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

查看更多
登录 后发表回答