Skip to content

Commit

Permalink
test github API limits
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz committed Jan 16, 2025
1 parent 04f6560 commit 669bc3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/_extensions/wpilib_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def run(self) -> List[nodes.Node]:

release_url = f"https://api.github.com/repos/wpilibsuite/allwpilib/releases/tags/{version}"
release_json = requests.get(release_url)
print(release_json.headers) # prints the entire header as a dictionary
release_json.raise_for_status()
release: Dict = release_json.json()

Expand Down

0 comments on commit 669bc3e

Please sign in to comment.