We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f40cbfb commit 853340dCopy full SHA for 853340d
1 file changed
README.md
@@ -22,13 +22,14 @@ You will need a GitHub OAuth token with full repository access.
22
The easiest way to create one of these is using [https://github.com/settings/tokens](https://github.com/settings/tokens)
23
24
```python
25
-from github_contents import GitubContents
+from github_contents import GithubContents
26
27
# For repo simonw/disaster-data:
28
github = GithubContents(
29
"simonw",
30
"disaster-data",
31
- GITHUB_OAUTH_TOKEN
+ token=GITHUB_OAUTH_TOKEN,
32
+ branch="main"
33
)
34
```
35
To read a file:
0 commit comments