Skip to content

Commit

Permalink
Fix: parse up to 100 issues in a request
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Mar 7, 2024
1 parent a2f4f64 commit c7aed34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[![PyPI](https://img.shields.io/pypi/v/pyosmeta.svg)](https://pypi.org/project/pyosmeta/)

## [Unreleased]
- Parse up to 100 issues in a request (@lwasser, #94)


## [v0.2.3] - 2024-02-29

Expand Down
2 changes: 1 addition & 1 deletion src/pyosmeta/parse_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def __init__(self, org, repo_name, label_name):
def api_endpoint(self):
url = (
f"https://api.github.com/repos/{self.org}/{self.repo_name}/"
f"issues?labels={self.label_name}&state=all"
f"issues?labels={self.label_name}&state=all&per_page=100"
)
return url

Expand Down

0 comments on commit c7aed34

Please sign in to comment.