Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


python-github-bot-api



PyPI - Python Version

[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 Path

app = 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/).