diff --git a/ReferenceOfClasses.md b/ReferenceOfClasses.md index af9d0955..c1602a73 100644 --- a/ReferenceOfClasses.md +++ b/ReferenceOfClasses.md @@ -3,7 +3,7 @@ You obtain instances through calls to `get_` and `create_` methods. Class `Github` ============== -* Constructed from user's login and password +* Constructed from user's login and password or OAuth token * `get_user()`: `AuthenticatedUser` * `get_user( login )`: `NamedUser` * `get_organization( login )`: `Organization` diff --git a/setup.py b/setup.py index 53bce9fa..47e6c657 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import textwrap setup( name = 'PyGithub', - version = '0.6', + version = '0.7', description = 'Use the full Github API v3', author = 'Vincent Jacques', author_email = 'vincent@vincent-jacques.net', @@ -26,6 +26,14 @@ setup( print repo.name repo.edit( has_wiki = False ) + You can also create a Github instance without authentication:: + + g = Github( "user", "password" ) + + Or with an OAuth token:: + + g = Github( token ) + Reference documentation =======================