client

Function client 

Source
fn client() -> Result<Client>
Expand description

Builds a reqwest blocking client with the GitHub API User-Agent and, when available, an Authorization: Bearer token from the environment.

Checks GH_TOKEN first, then GITHUB_TOKEN.