aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-07-23 00:41:28 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-07-23 00:41:28 -0400
commit92c930f5766de4bed0c5ab982443a3b20de0a8ae (patch)
tree7d41118d3799a320051b9e6cb37bb0086a74dba5
parentbasic helpers (diff)
downloadpython-github3-92c930f5766de4bed0c5ab982443a3b20de0a8ae.tar.xz
python-github3-92c930f5766de4bed0c5ab982443a3b20de0a8ae.zip
read it up
-rw-r--r--README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 1ef348d..abcf054 100644
--- a/README.rst
+++ b/README.rst
@@ -12,12 +12,12 @@ Usage
::
- from github3 import github
+ import github3
- github.login('username', 'password')
+ gh = github3.basic_auth('username', password)
# optional
- github.
+ gh.get_repo('kennethreitz', 'python-github3')