aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index ba403e6..d135865 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -17,10 +17,14 @@ class Github(object):
from pygithub3.services.users import User
from pygithub3.services.repos import Repo
from pygithub3.services.gists import Gist
+ from pygithub3.services.git_data import GitData
+ from pygithub3.services.pull_requests import PullRequests
from pygithub3.services.orgs import Org
self._users = User(**config)
self._repos = Repo(**config)
self._gists = Gist(**config)
+ self._git_data = GitData(**config)
+ self._pull_requests = PullRequests(**config)
self._orgs = Org(**config)
@property
@@ -51,6 +55,19 @@ class Github(object):
return self._gists
@property
+ def git_data(self):
+ """
+ :ref:`Git Data service <Git Data service>`
+ """
+ return self._git_data
+
+ @property
+ def pull_requests(self):
+ """
+ :ref:`Pull Requests service <Pull Requests service>`
+ """
+ return self._pull_requests
+
def orgs(self):
"""
:ref:`Orgs service <Orgs service>`