I am building an app that fetches the issues and pull requests of over 1K github repos, like this.
$ curl -i "https://api.github.com/repos/user/repo/issues?state=closed"
My problem is that, after the initial 60 iterations I get a rate limit error:
{
"message": "API rate limit exceeded for xxx.xxx.xxx.xxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
"documentation_url": "https://developer.github.com/v3/#rate-limiting"
}
The document says I can make upto 5000 requests using Authentication Which I registered an oauth for and obtained Client ID
and Client Secret
tokens
https://api.github.com/repos/{repo.name}/issues?client_id=...&client_secret=...
Still the rate limit shows up only after about 60 requests.