Skip to main content

Module github

Module github 

Source
Expand description

GitHub REST API v3 client.

All functions operate on public data and work without authentication. Set GITHUB_TOKEN in the environment for higher rate limits (5 000/hr vs 60/hr) and access to private repositories.

Structs§

CommitAuthor
CommitDetail
CommitFile
CommitInfo
EventRepo
GitHubEvent
GitHubRepo
GitHubUser

Functions§

get_commit_detail
Fetch a single commit with its file patches.
get_user
Fetch a user’s public profile.
get_user_events
Fetch a user’s recent public events (max 100, GitHub returns up to 90 days).
get_user_repos
Fetch a user’s own repositories sorted by sort (pushed or updated).
get_user_starred_repos
Fetch a user’s top starred repositories via the Search API.
search_user_commits
Search for the limit most recent public commits authored by username across all repos.