Getting all GitHub users through github-api

前端 未结 4 1339
有刺的猬
有刺的猬 2021-02-07 20:24

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

4条回答
  •  面向向阳花
    2021-02-07 20:47

    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.

提交回复
热议问题