We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GitHub paginates responses to API calls. It would be nice if Tentacles would support this.
The text was updated successfully, but these errors were encountered:
@devurandom You can pass :per-page as an option to most, if not all calls. Search the README.md for :per-page to find out how to use it.
:per-page
Sorry, something went wrong.
My problem was that I could not figure out how to find the next URL. Without that I would not be able to pass it to :page.
next
:page
@devurandom I haven't tried it, but by looking at the source, it looks like it's in the response's metadata.
user> (-> (repos/user-repos "bostonaholic" {:per-page 10}) meta :links :next) "https://api.github.com/user/362146/repos?throw_exceptions=true&per_page=10&page=2"
No branches or pull requests
GitHub paginates responses to API calls. It would be nice if Tentacles would support this.
The text was updated successfully, but these errors were encountered: