通过YouTube API从多个YouTube通道获取预定流的时间戳的有效方法?
我正在列出一个列表,该列表组织了多个频道上计划流的开始时间。为此,请使用搜索从每个频道收集类型=='即将到来的视频列表,然后从收集的视频列表中提取时间戳。此过程消耗了100(搜索) + 1(视频)的配额。我可以进行少于100次搜索,但是有什么办法可以进行更多搜索?
我还尝试使用“ youtube-livestreaming-api”,但我发现我的API键无效。我不能因为我不是YouTube合作伙伴而使用此API吗?
I'm making a list that organizes the start time of scheduled streams on multiple channels. To do this, use search to collect a list of videos that are type=='upcoming' from each channel and extract the timestamp from the collected video list. This process consumes quota of 100 (Search) + 1 (Video). I can do less than 100 searches, but is there any way I can do more searches?
I also tried to use "youtube-livestreaming-api", but I found that my API key was not valid. Can't I use this API because I am not YouTube Partner?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能会有趣使用我的开源 youtube操作API 。
确实,通过请求
https://yt.lemnoslife.com/search?part=Id&; channelid = channel_id& eventtype = upcoming
,您将获得0配额的ID,即给定YouTube Channel的即将到来的流的ID。然后,您可以使用返回的视频ID将其传递到YouTube数据API V3,以获取他们的预定流时间戳。最终,对于默认的10,000配额,您不会进行99个搜索,而是500,000。
您可以从这个播放列表。
You may be interesting in using my open-source YouTube operational API.
Indeed by requesting
https://yt.lemnoslife.com/search?part=id&channelId=CHANNEL_ID&eventType=upcoming
you will get for 0 quota the ids of upcoming streams of a given YouTube channel.You can then use the returned video ids to pass them to the YouTube Data API v3 to get their timestamp of scheduled stream. In that way in the end for default 10,000 quota you don't make 99 searches but 500,000.
You can retrieve such a channel from this playlist.