Вопрос

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