Open coolharsh55 opened 9 years ago
Interfacing with the GitHub API is really easy. This is a simple script which displays all repositories of a given user:
import requests
repos = requests.get("https://api.github.com/users/{}/repos".format(input())).json()
for i in repos:
print(i['name'])
These are list of wrappers of Github's API docs https://developer.github.com/libraries/#python
I have used PyGithub
and github3.py
and I find github3.py
more suited to our needs.
We need to use the GithubAPI to access repositories and their details. Rather than creating RESTful services directly in our apps, we can use libraries/wrappers to access the GithubAPI.
This issue acts as a place of discussion for the various libraries, and to select which of them are best suited for out purpose.
We need: