I
I
idccc2019-10-13 22:06:33
YouTube
idccc, 2019-10-13 22:06:33

How to get information about the status of an online stream on a YouTube channel while spending the minimum number of request quotas?

Good afternoon.
There is a task to receive information about the beginning of a new broadcast on several different YouTube channels. This is currently implemented via a GET request with a search method that weighs 100 quota units. The quota limit per day is 10000, so for five channels you can send such requests no more than once per hour.
Request by search method (only one Channel ID can be passed):

https://www.googleapis.com/youtube/v3/search?part=snippet&channelId='.$channelId.'&type=video&key='.$key.'&fields=items(id(videoId),snippet(liveBroadcastContent))&eventType=live

Who faced a similar situation, is it possible to get stream statuses on YouTube cheaper or do I need to request an extension of quotas?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-10-19
@dimonchik2013

expansion or parsing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question