Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niklasrosenstein/python-github-bot-api
API for creating GitHub bots and webhooks in Python.
https://github.com/niklasrosenstein/python-github-bot-api
github library python
Last synced: 7 days ago
JSON representation
API for creating GitHub bots and webhooks in Python.
- Host: GitHub
- URL: https://github.com/niklasrosenstein/python-github-bot-api
- Owner: NiklasRosenstein
- License: other
- Created: 2020-10-22T16:08:59.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-04-04T19:21:32.000Z (7 months ago)
- Last Synced: 2024-10-30T00:42:15.142Z (10 days ago)
- Topics: github, library, python
- Language: Python
- Homepage: https://niklasrosenstein.github.io/python-github-bot-api/
- Size: 6.08 MB
- Stars: 23
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
python-github-bot-api
[PyGithub]: https://pypi.org/project/PyGithub/
A thin Python library for creating GitHub bots and webhooks in Python with [PyGithub].
```python
from github import Github
from github_bot_api import GithubApp
from pathlib import Pathapp = GithubApp(
user_agent='my-bot/0.0.0',
app_id="67890",
private_key=Path("app-private.key").read_text(),
)client: Github = app.installation_client(12345)
```For more examples, check out the [documentation](https://niklasrosenstein.github.io/python-github-bot-api/).