Crawling the timestamps of all the activities (clicks) on a video of another user with API v3 client library

StackOverflow https://stackoverflow.com/questions/21998033

문제

I want to get the time-stamped click-streams of views of a particular Youtube video of another user, so not of the logged in user. What parameter on Youtube API I need to run?

도움이 되었습니까?

해결책

You can get some statistics. If you hit this endpoint:

GET https://www.googleapis.com/youtube/v3/videos?part=statistics&id={VIDEO_ID}&key={YOUR_API_KEY}

Then you will be returned the total viewcount, like count, dislike count, favorite count, and comment count. However, if you want more granular details (for example you mention time stamps), you'll need to have the video's owner authenticate to your site, and then use the Analytics API.

In other words, you can't do detailed data mining if you don't own the videos.

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