data/github_client library
HTTP client for the GitHub REST API (v3 / 2022-11-28).
Fetches repository health metrics such as open issue count, recent commits, and contributor data. Responses are cached with a 12-hour TTL to respect GitHub's unauthenticated rate limit of 60 requests per hour.
Set the GITHUB_TOKEN environment variable to raise the rate limit to
5 000 requests per hour.
Classes
- GitHubClient
- Wraps the GitHub API and converts raw JSON into RepoHealth objects.