Skip to content

Commit f0cd0b7

Browse files
committed
Installation and import example in README
1 parent 3938727 commit f0cd0b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@ The regular [GitHub Contents API](https://developer.github.com/v3/repos/contents
1010

1111
Note that file contents is passed and returned as bytestrings, not regular strings.
1212

13+
## Installation
14+
15+
pip install github-contents
16+
1317
## Usage
1418

1519
You will need a GitHub OAuth token with full repository access.
1620

1721
The easiest way to create one of these is using [https://github.com/settings/tokens](https://github.com/settings/tokens)
1822

1923
```python
24+
from github_contents import GitubContents
25+
2026
# For repo simonw/disaster-data:
2127
github = GithubContents(
2228
"simonw",

0 commit comments

Comments
 (0)