Skip to content

YouTube API Getting Remaining Quota or Used Quota #688

Answered by ThioJoe
Firecul asked this question in Q&A
Discussion options

You must be logged in to vote

I've looked into this extensively, and the answer is "kind of", but it is incredibly convoluted. For some reason there is no "how much quota left" query, nor is there a "how much quota have I used" query.

The only way it can be done is using another API, the google "cloud monitoring" API:

Though even with that, it basically requires you to set up a whole custom query using "MQL" which is an entire language just for report queries. I was sort of able to get it to create a chart that shows when you kinda go over the limit…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Firecul
Comment options

You must be logged in to vote
1 reply
@ThioJoe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants