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

Implement support for pagination for responses returning lists #1

Open
Balletie opened this issue Nov 25, 2015 · 0 comments
Open

Implement support for pagination for responses returning lists #1

Balletie opened this issue Nov 25, 2015 · 0 comments

Comments

@Balletie
Copy link
Collaborator

Responses which returns a list of items are paginated to 30 items by default. See documentation here: https://developer.github.com/v3/#pagination

Examples of requests that return paginated results are for example listing the commits of a repository, listing the repositories of a user.

Ideas to implement support for this is to use the Iterator pattern (which can optionally go both ways, i.e. next page and previous page).

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

No branches or pull requests

1 participant