Skip to content

Automatically handle pagination #49

@ahal

Description

@ahal

Many Github APIs are paginated, there is documentation on how to handle that here:
https://docs.github.com/en/rest/using-the-rest-api/using-pagination-in-the-rest-api?apiVersion=2022-11-28#using-link-headers

We should handle this implicitly, perhaps turning the requests method into a generator with each iteration returning a new response object. This way callers can decided whether to fetch the next page or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions