API for creating GitHub bots and webhooks in Python.
Project description
python-github-bot-api
A thin Python library for creating GitHub bots and webhooks in Python with PyGithub.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
github_bot_api-0.6.0.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for github_bot_api-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e078678428dc0e7f9aad07729569108fcb8893a6c5f62979fa789a68227b605 |
|
MD5 | e7dc6484d440b4de9c0693c05b03351b |
|
BLAKE2b-256 | 09e62f4ae5f996bcdfcebe4cc6bdebccc30a7e70ac532b0df89be6300be67753 |