Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting all GitHub users through github-api

Tags:

github-api

The GitHub API documentation says that the url

https://api.github.com/users

will give all users in the order they signed up, but I only seem to get the first 135.

Any ideas how to get the real full list?

like image 506
Jorge Guzman Avatar asked Apr 03 '13 19:04

Jorge Guzman


1 Answers

Please use since parameter in your GET request.

https://api.github.com/users?since=XXX

Probably it's done this way to limit the resources needed to handle such request. Without such limit it's just asking for DoS attack.

like image 53
Marcin Pietraszek Avatar answered Nov 05 '22 11:11

Marcin Pietraszek