从Youtube API V3中获取播放列表视频请求,“触发”视频列表请求

时间:2019-08-21 08:47:24

标签: api youtube

在我的react应用程序中,我正在使用Axios在componentDidMount方法中获取youtube API播放列表项:

.get(   'https://www.googleapis.com/youtube/v3/playlistItems?key=[apikey]&playlistId=[playlist id]&type = video&showinfo = 0&iv_load_policy = 3&part = snippet,id&order = date&maxResults = 20

GCP指标使用4种API方法显示流量:videos.List,playlistItems.list,channels.list和search.list。但是我只使用playlistItems方法。...

我想知道playlistItems方法是否可以“触发”其他方法请求。因此,仅在2小时后才达到每日限额。

此React应用正在生产中(其网站),但目前, 每天有10个人(Google搜索控制台)。我认为这很少的流量无法生成太多请求。

它阻止了网站的使用。

获得您的反馈将非常有帮助。

非常感谢:)

0 个答案:

没有答案