Skip to main content

github webhooks

Project description

Install

$ [sudo] pip install github-webhooks

Config

$ export GITHUB_TOKEN="xxx"
>>> os.environ["GITHUB_TOKEN"] = "xxx"

Functions

function __doc__
github_webhooks.create(fullname, url, events=['push']) create repo webhook
github_webhooks.delete(fullname) delete all repo webhooks
github_webhooks.get(fullname) return list of repo webhooks data
github_webhooks.urls(fullname) return list of repo webhooks urls

CLI

usage __doc__
python -m github_webhooks.create url ... create repo webhook(s)
python -m github_webhooks.delete delete all repo webhooks
python -m github_webhooks.urls print repo webhooks urls

Links

readme-md - README.md generator

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

github-webhooks-2019.2.15.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

github_webhooks-2019.2.15-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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