Getting began with Python APIs

Interacting with GitHub

We will use APIs to work together with GitHub too. Conserving it easy, we’ll use the POST request to create a brand new repo known as api_test.



First, as all the time, we want an authorization token. Luckily, we are able to get this arrange a lot sooner than we did with the Google Maps API — you’ll find a step-by-step guide here.

Observe that on step seven, it’s totally as much as you which ones permissions you choose — however all we are going to want is repo:

Screenshot during step seven of GitHub authorization token showing repo to be checked, and delete repo unchecked.