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".
8 lines
218 B
Python
8 lines
218 B
Python
VERSION = (0, 1, 1)
|
|
__doc__ = "Github API v2 library for Python"
|
|
__author__ = "Ask Solem"
|
|
__contact__ = "askh@opera.com"
|
|
__homepage__ = "http://github.com/ask/python-github2"
|
|
__version__ = ".".join(map(str, VERSION))
|
|
|