discord-bot/Clients/GithubClient
13xforever d4e78d1b1b
upgrade solution to net9.0
this bumps docker image base to ubuntu 24.04
2024-11-13 13:43:33 +05:00
..
Client.cs update code with new language and api features 2023-04-21 02:05:59 +05:00
GithubClient.csproj upgrade solution to net9.0 2024-11-13 13:43:33 +05:00
readme.md some docs 2019-04-01 22:52:27 +05:00

GitHub Client

GitHub API documentation for reference. Anonymous API calls require User-Agent header, everything else is optional. Anonymous access is limited to 60 requests per hour, matched by client IP.

We only use GitHub API to get PR information, and optionally, links to CIs. CI status information is unreliable though, as it's often outdated and the history is often inconsistent, so we prefer to find matching builds manually instead.

As anonymous access is very limited, we try to cache every response. In the same vein, we try to limit GitHub API usage in general.