Navigating your way through Github API
January 15, 2025 ยท View on GitHub
-
GET repositories of a user
https://api.github.com/users/{username}/repos?type=owner&per_page=100" -
GET all PRs of a user.
https://api.github.com/search/issues?q=author%3A{username}+type%3Apr&per_page=100 -
GET all issues opened by a user
https://api.github.com/search/issues?q=author%3A{username}+type%3Aissue&per_page=100 -
GET all python repos with stars in desecending order
https://api.github.com/search/repositories?q=language:python&sort=stars&order=desc&per_page=100 -
List all files inside a repo
https://api.github.com/repos/{username}/{repo}/git/trees/{branch}?recursive=1 -
GET a single file in
base64formathttps://api.github.com/repos/Bhupesh-V/defe/contents/README.md