Skip to content

Commit 0189aff

Browse files
author
Kenneth Reitz
committed
basic
1 parent 5efd35a commit 0189aff

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

README.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ This is going to be awesome.
77

88

99

10-
Dependencies
11-
------------
10+
Usage
11+
-----
12+
13+
::
14+
from github3 import github
15+
16+
github.login('username', 'password')
17+
# optional
18+
19+
github.
20+
21+
1222

13-
- Requests
14-
- AnyJSON
15-
- OrderedDict
1623

1724

1825
Installation

github3/core.py

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,22 @@
99
"""
1010

1111

12+
from .api import API_URL
13+
14+
15+
1216
class GitHub(object):
13-
pass
17+
"""Central GitHub object."""
18+
19+
ratelimit = None
20+
= None
21+
22+
def __init__(self, apiurl=API_URL):
23+
pass
24+
25+
def login(self):
26+
pass
27+
1428

15-
def __init__(self):
16-
pass
29+
# Default instance
30+
github = GitHub()

0 commit comments

Comments
 (0)