/PythonGithub

Python toolkit for the Github API

Primary LanguagePythonMIT LicenseMIT

https://raw.githubusercontent.com/nicchub/PythonGithub/master/images/PythonGithub.png

PythonGithub is a Library for communicating with the GitHub API. The goal of the library is to support 100% of the GitHub v3 API.

https://api.travis-ci.org/nicchub/PythonGithub.png?branch=master https://badge.fury.io/py/PythonGithubAPI.png https://pypip.in/d/PythonGithubAPI/badge.png

Requirements

Tested with: Python 2.6, Python 2.7 and Python 3.2.

Installation:

pip install -U PythonGithub

Quickstart

PythonGithub is easy, the most simple method is zen() that don't required authentication.

api.zen()

Returns a ramdon selection of the github design philosophy.

from github import api

api.zen()
> u'Mind your words, they are important.'

api.users.get()

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'

Documentation

Examples

Contribute guide

Testing