-
Your introduction says you serve over 870 million images a month,but github api have rate limit:5000 requests per hour for any user.Is this a problem that bothers you in your development? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The Short answer is GitHub allows 5,000 requests per hour for any token. We increase our rate limit by using multiple tokens. In slightly more detail: Any shields user can 'donate' us some of their rate limit by authorizing this OAuth application: https://img.shields.io/github-auth Authorizing that application gives us a token which is only authorized to access public repo content and we add it to our pool. We rarely promote this now as over the years thousands of users have authorized the app so we have enough tokens to cover our usage many times over. |
Beta Was this translation helpful? Give feedback.
-
I will also add a few things:
|
Beta Was this translation helpful? Give feedback.
The Short answer is GitHub allows 5,000 requests per hour for any token. We increase our rate limit by using multiple tokens.
In slightly more detail: Any shields user can 'donate' us some of their rate limit by authorizing this OAuth application: https://img.shields.io/github-auth Authorizing that application gives us a token which is only authorized to access public repo content and we add it to our pool. We rarely promote this now as over the years thousands of users have authorized the app so we have enough tokens to cover our usage many times over.