Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pagination example #304

Closed
Closed
@ericfrederich

Description

@ericfrederich

Docs don't give an example on how to fully use pagination.

It only has an example of doing a listing withpage=1, per_page=10

Is there a way, for example, to know ahead of time how many pages there will be?

For example I'm callinggl.project_issues.list(project_id=project.id, per_page=10, page=n)
By incrementingn beyond the actual number of pages I see that I don't get an exception of any kind, instead just empty lists.

I only found that out by digging into it. I don't see it documented anywhere.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp