aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services/git_data/__init__.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-04-17 18:45:46 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-04-17 18:45:46 +0200
commit8430f64e6f0025b3d3d088ffd13c50b7123972f6 (patch)
tree214726395e1f0108e757a47d2c0de0ec36a3aeb5 /pygithub3/services/git_data/__init__.py
parent:sparkles: Release 0.3 :sparkles: (diff)
parentadd myself to AUTHORS and some other docs tweaks (diff)
downloadpython-github3-8430f64e6f0025b3d3d088ffd13c50b7123972f6.tar.xz
python-github3-8430f64e6f0025b3d3d088ffd13c50b7123972f6.zip
Merged pull request #3 from natw/git_data
Diffstat (limited to 'pygithub3/services/git_data/__init__.py')
-rw-r--r--pygithub3/services/git_data/__init__.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/pygithub3/services/git_data/__init__.py b/pygithub3/services/git_data/__init__.py
new file mode 100644
index 0000000..4a3ff9f
--- /dev/null
+++ b/pygithub3/services/git_data/__init__.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# -*- encoding: utf-8 -*-
+
+from pygithub3.services.base import Service
+from .blobs import Blobs
+from .commits import Commits
+from .references import References
+from .tags import Tags
+from .trees import Trees
+
+class GitData(Service):
+ """Consume `Git Data API <http://developer.github.com/v3/git/>`_"""
+
+ def __init__(self, **config):
+ self.blobs = Blobs(**config)
+ self.commits = Commits(**config)
+ self.references = References(**config)
+ self.tags = Tags(**config)
+ self.trees = Trees(**config)
+ super(GitData, self).__init__(**config)