diff options
author | 2012-04-28 23:47:25 +0200 | |
---|---|---|
committer | 2012-04-28 23:47:25 +0200 | |
commit | 5178849299bf8d0a903811c3b7561e8bc3bb6c14 (patch) | |
tree | 2f914320c4f3813ec8a0058abb189fae822bb4ed /pygithub3/github.py | |
parent | :sparkles: Release 0.3 :sparkles: (diff) | |
parent | Add Teams Service (diff) | |
download | python-github3-5178849299bf8d0a903811c3b7561e8bc3bb6c14.tar.xz python-github3-5178849299bf8d0a903811c3b7561e8bc3bb6c14.zip |
Merged pull request #5 from stefanor:services/orgs
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r-- | pygithub3/github.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py index 0b302a1..ba403e6 100644 --- a/pygithub3/github.py +++ b/pygithub3/github.py @@ -17,9 +17,11 @@ class Github(object): from pygithub3.services.users import User from pygithub3.services.repos import Repo from pygithub3.services.gists import Gist + from pygithub3.services.orgs import Org self._users = User(**config) self._repos = Repo(**config) self._gists = Gist(**config) + self._orgs = Org(**config) @property def remaining_requests(self): @@ -47,3 +49,10 @@ class Github(object): :ref:`Gists service <Gists service>` """ return self._gists + + @property + def orgs(self): + """ + :ref:`Orgs service <Orgs service>` + """ + return self._orgs |