I am getting “dailyLimitExceeded” errors with barely 300 total requests

后端 未结 1 1558
清酒与你
清酒与你 2021-01-27 23:37

I am getting \"dailyLimitExceeded\" errors with barely 300 total requests... I created this api project a few hours ago and everything was working fine at the beginning until I

相关标签:
1条回答
  • 2021-01-28 00:12

    The Search endpoint is kind of expensive: according to the docs, each one of your search query costs 100 units of quota. Multiply that with 200 and you're quite likely to exceed the daily quota allocated.

    If you're only interested to find the new video entries of a given channel, then you better use the PlaylistItems endpoint queried appropriately (see my answer to a related question) that have a quota cost of only 3 units.

    Also you should be aware about one of the issues of the API w.r.t. published vs. upload date time of any given video.

    0 讨论(0)
提交回复
热议问题