github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Feature Request - Total Count for PagedIterable

Open bchenghi opened this issue 2 years ago • 4 comments

I believe the GitHub API provides total number of pages in the response's Link header.

This could be useful, for instance, counting total number of commits in a repository. We can set page_size to 1 for listing commits on a GHRepository. Obtaining the total number of pages would tell us the total number of commits.

bchenghi avatar Feb 05 '23 09:02 bchenghi

Part of #348. But let's keep this open for clarity.

bitwiseman avatar Feb 25 '23 19:02 bitwiseman

@bitwiseman is it available for development or already handled?

antrix190 avatar Mar 15 '23 17:03 antrix190

@antrix190 Available for development.

bitwiseman avatar Mar 20 '23 18:03 bitwiseman

Hi . I want to work on this issue.

khagenbaro avatar Oct 14 '23 07:10 khagenbaro