Skip to content

twilsonndr/python-github-bot-api

 
 

Repository files navigation

python-github-bot-api

PyPI - Python Version

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.

About

API for creating GitHub bots and webhooks in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%