oss-reva / gitscribe

discord bot for github repo and issue info retrieval.
https://pypi.org/project/gitscribe/
MIT License
9 stars 12 forks source link

[Bug] - `func get_repo_issues` won't scan for all issues on a repository #10

Closed shreyass-ranganatha closed 1 year ago

shreyass-ranganatha commented 1 year ago

https://github.com/oss-reva/gitscribe/blob/0dd4d8c13c376b54c9a9208bef253bd88084829c/gitscribe/apis/github.py#L16

Under GitHub REST API, most "listing" endpoints have a limit of around 30 per page, and so every request in the above function returns only top 30 issues. Need to fix this by repeated downloads

GitHub API endpoint: List Repository Issues