aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-09 02:06:44 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-10 01:08:04 +0100
commit2489a209f831f26934535461ecdc7f87bbfd1185 (patch)
tree86c38d9e093033cc60a501c21cda3c571355fb52 /pygithub3/github.py
parentResources tests (diff)
downloadpython-github3-2489a209f831f26934535461ecdc7f87bbfd1185.tar.xz
python-github3-2489a209f831f26934535461ecdc7f87bbfd1185.zip
Joining components in a clean interface
Diffstat (limited to 'pygithub3/github.py')
-rw-r--r--pygithub3/github.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index ff6ea1e..0bd3bf7 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -1,2 +1,15 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
+
+from pygithub3.services.users import User
+
+
+class GitHub(object):
+ """ Main entrance """
+
+ def __init__(self, **config):
+ self._users = User(**config)
+
+ @property
+ def users(self):
+ return self._users