API for credits used stats
a
artwjoyce3
It would be nice to be able to query the API to find out how many of the daily credits have been used. Something like:
It would be helpful for tuning a program to know from call to call how many credits are being used by a program feature. It would also allow a program to enter a "low credits" mode or disable certain features if there are too few credits remaining.
I see that X-Api-Ratelimit-Remaining is apparently returned in each response header, but that requires having access to the entire HTTP message.
Log In