aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
authorNat Williams <nwilliams@leapfrogonline.com>2012-04-13 17:06:09 -0500
committerNat Williams <nwilliams@leapfrogonline.com>2012-04-16 13:36:39 -0500
commit4ce1a90038b23d931858ad22815dbe29f74d7d98 (patch)
tree880428e5a6e23c472cfa14183884c0ac79bbf718 /pygithub3/github.py
parent:sparkles: Release 0.3 :sparkles: (diff)
downloadpython-github3-4ce1a90038b23d931858ad22815dbe29f74d7d98.tar.xz
python-github3-4ce1a90038b23d931858ad22815dbe29f74d7d98.zip
add Git Data API support
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index 0b302a1..13829a0 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.git_data import GitData
self._users = User(**config)
self._repos = Repo(**config)
self._gists = Gist(**config)
+ self._git_data = GitData(**config)
@property
def remaining_requests(self):
@@ -47,3 +49,10 @@ class Github(object):
:ref:`Gists service <Gists service>`
"""
return self._gists
+
+ @property
+ def git_data(self):
+ """
+ :ref:`Git Data service <Git Data service>`
+ """
+ return self._git_data