GitHub
GitHub Repo Top Issues API
A repository's most-reacted open issues, ranked by reactions or comments - the fastest read on what a project's users actually want. Costs 5 credits per request.
POST/api/v1/github/repo/top-issues
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonurlstringrequiredA github.com/<owner>/<repo> URL or a bare <owner>/<repo>.
Example: facebook/react
sortenum<string>default:reactionsRank by reactions (default) or comments.
per_pageintegerdefault:10Number of issues to return, 1-100.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.github.repo_top_issues("facebook/react", sort="reactions", per_page=10)
print(result)Response
"total_count": 826
},
"response_time": 4918
}