soltanoff / github_release_monitor_bot

Simple release monitor for GitHub repositories based on telegram bot
MIT License
1 stars 0 forks source link

GitHub: rate limits border #9

Open soltanoff opened 1 week ago

soltanoff commented 1 week ago

Primary rate limit for unauthenticated users

You can make unauthenticated requests if you are only fetching public data. Unauthenticated requests are associated with the originating IP address, not with the user or application that made the request.

The primary rate limit for unauthenticated requests is 60 requests per hour.

Primary rate limit for authenticated users

You can use a personal access token to make API requests. Additionally, you can authorize a GitHub App or OAuth app, which can then make API requests on your behalf.

All of these requests count towards your personal rate limit of 5,000 requests per hour. Requests made on your behalf by a GitHub App that is owned by a GitHub Enterprise Cloud organization have a higher rate limit of 15,000 requests per hour. Similarly, requests made on your behalf by a OAuth app that is owned or approved by a GitHub Enterprise Cloud organization have a higher rate limit of 15,000 requests per hour if you are a member of the GitHub Enterprise Cloud organization.

soltanoff commented 1 week ago

More info: https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api