mirror of
https://github.com/kennethreitz-archive/github2.git
synced 2026-06-05 23:50:18 +00:00
b8463cc8df
Date: Thu Dec 31 18:42:07 2009 +0100
Add authentiation for GET requests.
This for example allows you to list private repositories:
>>> from github2.client import Github
>>> github = Github(username="company", api_token="2e66a5c7e24d1d066230f368ce8b094e")
>>> repos = github.repos.list("company")
`repos` now contains a list of public and private repositories of "company".