PythonGithub is a Library for communicating with the GitHub API. The goal of the library is to support 100% of the GitHub v3 API.
Tested with: Python 2.6, Python 2.7 and Python 3.2.
pip install -U PythonGithub
PythonGithub is easy, the most simple method is zen() that don't required authentication.
Returns a ramdon selection of the github design philosophy.
from github import api api.zen() > u'Mind your words, they are important.'
Get all information about a specific github username.
from github import api user = api.users.get('nicchub') user.name > u'Nicco' user.login > u'nicchub'