A
A
Alexander2017-02-17 09:37:59
YouTube
Alexander, 2017-02-17 09:37:59

Should I use the youtube api library or send the url myself?

I am using Laravel 5.4.10. I installed a library for google-api services from here https://github.com/pulkitjalan/google-apiclient#usage. But I can’t find adequate examples on it, I don’t know how to use it. When I researched this issue, I saw that many do not use any libraries, but send requests themselves via curl (or ajax, if they use JS)
The task is as follows. It is necessary to take statistics of all videos from the given channels every hour: views, likes, dislikes, and so on. Question: is it necessary to use libraries as part of this task, or is it enough to send requests via curl?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question