discord-bot/Clients/GithubClient
2020-05-21 22:45:49 +05:00
..
POCOs fix linux pr build linking 2020-03-07 20:29:38 +05:00
Client.cs support for OneDrive log links 2020-03-09 22:16:19 +05:00
GithubClient.csproj update deps 2020-05-21 22:45:49 +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.