You can create an Auth token on the personal API tokens page or using any other form of Auth provided by GitHub.
Once you have a token, you can test out the API endpoint using cURL:
curl -H "Authorization: token <OAUTH-TOKEN>" https://api.github.com
Going forward, using the Auth token in the HTTP header to authenticate future requests.
If you integrate this into an app without using cURL, you'll also need a User-Agent
header with your username on GitHub, e.g.
User-Agent: <USERNAME>
We're going to work around the endpoint that grabs your repositories.
GET /repos/:owner/:repo