mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-02 07:56:35 +00:00
.. | ||
Client.cs | ||
GithubClient.csproj | ||
readme.md |
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.