Вопрос

I am a first year C.S student...so please bear with me. I want to create a website which hosts all information about Youtube videos, like the number of views, likes, dislikes so that I can do some analytics on it. So how do I go about getting that information?

Это было полезно?

Решение

You can use the YouTube Analytics API's to obtain reporting metrics about YouTube Channels and Videos. Specific information on the metrics and reports available:

To access the API's you will need to use OAuth 2.0 and register with Google API's. Create or use an existing Google Account and navigate to the Google API's Console. Here you can manage the different API's you have access to.

You didn't mention what language you're using, but Google publishes libraries to help you build your application that take care of a lot of the low level implementation details. You can find the client libraries for Google API's here. YouTube client library can be found here.

In short, you will need to do some research. Google has excellent documentation and I hope the links provided can get you started. I recommend reading through the links and building a quick POC to get familiar with how the API's work before designing your system.

Good luck!

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top