diff options
| author | 2011-04-13 18:38:32 -0400 | |
|---|---|---|
| committer | 2011-04-13 18:38:32 -0400 | |
| commit | 0189aff9ba05e8a2954ca864c03a4de022f1ab5c (patch) | |
| tree | 56f0a32a9ae8b89173f2c08d5e57bcf0611611af | |
| parent | hrmm (diff) | |
| download | python-github3-0189aff9ba05e8a2954ca864c03a4de022f1ab5c.tar.xz python-github3-0189aff9ba05e8a2954ca864c03a4de022f1ab5c.zip | |
basic
| -rw-r--r-- | README.rst | 17 | ||||
| -rw-r--r-- | github3/core.py | 20 |
2 files changed, 29 insertions, 8 deletions
@@ -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 diff --git a/github3/core.py b/github3/core.py index 65b6ca0..383ab88 100644 --- a/github3/core.py +++ b/github3/core.py @@ -9,8 +9,22 @@ This module contains the core GitHub 3 interface. """ +from .api import API_URL + + + class GitHub(object): - pass + """Central GitHub object.""" + + ratelimit = None + = None + + def __init__(self, apiurl=API_URL): + pass + + def login(self): + pass + - def __init__(self): - pass
\ No newline at end of file +# Default instance +github = GitHub()
\ No newline at end of file |
