This commit is contained in:
Kenneth Reitz
2011-04-13 18:38:32 -04:00
parent 5efd35a00e
commit 0189aff9ba
2 changed files with 30 additions and 9 deletions
+12 -5
View File
@@ -7,12 +7,19 @@ This is going to be awesome.
Dependencies Usage
------------ -----
::
from github3 import github
github.login('username', 'password')
# optional
github.
- Requests
- AnyJSON
- OrderedDict
Installation Installation
+17 -3
View File
@@ -9,8 +9,22 @@ This module contains the core GitHub 3 interface.
""" """
class GitHub(object): from .api import API_URL
pass
def __init__(self):
class GitHub(object):
"""Central GitHub object."""
ratelimit = None
= None
def __init__(self, apiurl=API_URL):
pass pass
def login(self):
pass
# Default instance
github = GitHub()