Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at multiple pages of repos #10

Open
mythmon opened this issue Jul 19, 2016 · 0 comments
Open

Look at multiple pages of repos #10

mythmon opened this issue Jul 19, 2016 · 0 comments

Comments

@mythmon
Copy link

mythmon commented Jul 19, 2016

GitHub will paginate the repos list in the API, putting about 30 in one request. If a user has more than this number of repos, more requests are needed to get the complete list of repos.

I think the right way of going through all pages is to add ?page=N, and keep incrementing page until an empty list comes back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant