Skip to content
This repository was archived by the owner on Jan 4, 2019. It is now read-only.

Commit b384ae8

Browse files
committed
Add aspirational README
1 parent 3cf2fb4 commit b384ae8

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1-
# :construction: :warning: Under construction :warning: :construction:
1+
# `github-app-demo.py`
22

3-
## `github-app-demo.py`
3+
A _Pythonic_ way of developing [GitHub Apps](https://developer.github.com/apps/).
44

5-
An example [GitHub App](https://developer.github.com/apps/), written with Python 3.
5+
## Examples
66

7-
Clearly, a work in progress :stuck_out_tongue_closed_eyes:
7+
```python
8+
from github import App
9+
app = App()
10+
11+
# Get a specific installation of this App
12+
installation = app.get_installation('octocat')
13+
14+
# Get all the repositories associated with installation
15+
repositories = installation.get_repositories()
16+
17+
# :soon:
18+
repository = app.get_repository('octocat/Hello-World')
19+
```
20+
21+
More :soon:
22+
23+
## Get started
24+
25+
:construction: `TODO` :construction:

0 commit comments

Comments
 (0)