Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Further explanations on YouTube API quota: eg. does `search?maxResults` add up?

$
0
0

So, i'm a bit confused how youtube API queries impact on quota. They all lay out on a "composition" aspec of requisitions:

The Quota calculator show the cost of various resources.For example search.list = 100 and videos.list = 1.

One aspect of it is not clear to me though. How it calculates on a 'multi-results' single request?

queryquota doubt
/search?maxResults=10is it one100 quota, or ten100(1000) quotas?
/videos?id=A,Bis it one quota, or two quotas?
/video?part=A,Bis this addingtwo quotas? (each video??) Since no ?part= returns only id related data
/...?fields=A,B(C)is fields query impacting the request quota anyhow?


I first thought it was really straightforward: 1 call, 1 quota "package". And that seemed to be supported by this calculator's quote:

If your application calls a method, such as search.list, that returns multiple pages of results, each request to retrieve an additional page of results incurs the estimated quota cost.

But while developing a simple video list, my daily quota blew up pretty damn fast. So not sure anymore.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>