aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/github.py
blob: 4941ffd95659b19af10f9e8177dc191ea003c606 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
# -*- encoding: utf-8 -*-

from pygithub3.services.users import User
from pygithub3.services.repos import Repo


class Github(object):
    """ Main entrance """

    def __init__(self, **config):
        self._users = User(**config)
        self._repos = Repo(**config)

    @property
    def users(self):
        return self._users

    @property
    def repos(self):
        return self._repos