{"id":15657622,"url":"https://github.com/niklasrosenstein/python-github-bot-api","last_synced_at":"2025-04-09T23:16:13.071Z","repository":{"id":45336157,"uuid":"306391889","full_name":"NiklasRosenstein/python-github-bot-api","owner":"NiklasRosenstein","description":"API for creating GitHub bots and webhooks in Python.","archived":false,"fork":false,"pushed_at":"2025-01-05T20:59:09.000Z","size":7000,"stargazers_count":27,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-09T23:16:08.562Z","etag":null,"topics":["github","library","python"],"latest_commit_sha":null,"homepage":"https://niklasrosenstein.github.io/python-github-bot-api/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NiklasRosenstein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-22T16:08:59.000Z","updated_at":"2025-03-11T17:33:23.000Z","dependencies_parsed_at":"2024-04-04T19:27:14.618Z","dependency_job_id":"7195cd2e-ebeb-4110-bcb4-b994536d6646","html_url":"https://github.com/NiklasRosenstein/python-github-bot-api","commit_stats":{"total_commits":68,"total_committers":6,"mean_commits":"11.333333333333334","dds":"0.16176470588235292","last_synced_commit":"d306b87f0f640fc534eeea7c4c49b1a082aa53cc"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiklasRosenstein%2Fpython-github-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiklasRosenstein%2Fpython-github-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiklasRosenstein%2Fpython-github-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiklasRosenstein%2Fpython-github-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NiklasRosenstein","download_url":"https://codeload.github.com/NiklasRosenstein/python-github-bot-api/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125591,"owners_count":21051770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","library","python"],"created_at":"2024-10-03T13:08:49.855Z","updated_at":"2025-04-09T23:16:13.045Z","avatar_url":"https://github.com/NiklasRosenstein.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003epython-github-bot-api\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://pypi.org/project/github-bot-api\"\u003e\u003cimg alt=\"PyPI - Python Version\" src=\"https://img.shields.io/pypi/pyversions/github-bot-api\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n  [PyGithub]: https://pypi.org/project/PyGithub/\n\nA thin Python library for creating GitHub bots and webhooks in Python with [PyGithub].\n\n## Quickstart\n\n```python\nfrom github_bot_api import GithubApp\nfrom pathlib import Path\n\napp = GithubApp(\n    user_agent='my-bot/0.0.0',\n    app_id=\"12345\",\n    private_key=Path(\"app-private.key\").read_text(),\n)\n```\n\nCreate a PyGithub client for the app itself:\n\n```python\nfrom github import Github\nclient: Github = app.app_client()\n```\n\nCreate a PyGithub client for an app's installation scope:\n\n```python\nfrom github import Github\nclient: Github = app.installation_client(45678)\n```\n\nFor more examples, check out the [documentation](https://niklasrosenstein.github.io/python-github-bot-api/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasrosenstein%2Fpython-github-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklasrosenstein%2Fpython-github-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasrosenstein%2Fpython-github-bot-api/lists"}