From c7c03100fd0584b759bb75d461a12f5bcd5aabba Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Mon, 23 Apr 2012 17:44:10 +0200 Subject: Baseline Orgs API implementation --- pygithub3/github.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pygithub3/github.py') 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 ` """ return self._gists + + @property + def orgs(self): + """ + :ref:`Orgs service ` + """ + return self._orgs -- cgit v1.2.3-59-g8ed1b