Skip to main content

This is a wrapper for the Github Apps API.

Project description

githubapps.py

GitHub license GitHub issues GitHub forks GitHub stars PyPI version Python Versions Downloads

A Python wrapper for the Github Apps API

installing

Install and update using pip:

pip install githubapps.py

A simple example.

import githubapps
def main():
    with open('env/private.key', 'rb') as f_private:
        private_key = f_private.read()
    with open('env/app_id.key', 'r') as f_app_id:
        app_id = f_app_id.read()
    with open('env/installation_id.key', 'r') as f_installation_id:
        installation_id = f_installation_id.read()
    client_secret = private_key
    auth = githubapps.Auth(app_id, installation_id, client_secret)
    access_token = auth.get_access_token()
    print(access_token)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

githubapps.py-1.0.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file githubapps.py-1.0.0.tar.gz.

File metadata

  • Download URL: githubapps.py-1.0.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for githubapps.py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 db24ed6efce4c9b03b20a5518567b475582b57c42ac231a9033c9f179f10c6e9
MD5 58f5d1dcd8b39221e459a567cf7b1cc3
BLAKE2b-256 7f858726521b74d30eebb46ba10210533819d03d6d6666b9effd0a2fbabe2baf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page