Metadata-Version: 2.1
Name: github-webhooks
Version: 2019.2.16
Summary: github webhooks
Home-page: https://github.com/looking-for-a-job/github-webhooks.py
License: UNKNOWN
Description: [![](https://img.shields.io/pypi/pyversions/github-webhooks.svg?longCache=True)](https://pypi.org/project/github-webhooks/)
        
        #### Install
        ```bash
        $ [sudo] pip install github-webhooks
        ```
        
        #### Config
        ```bash
        $ export GITHUB_TOKEN="xxx"
        ```
        ```python
        >>> os.environ["GITHUB_TOKEN"] = "xxx"
        ```
        
        #### Functions
        function|`__doc__`
        -|-
        `github_webhooks.create(fullname, url, events=['push'])`|create repo webhook
        `github_webhooks.delete(fullname, webhooks)`|delete repo webhooks by name or url
        `github_webhooks.get(fullname)`|return list of repo webhooks data
        `github_webhooks.names(fullname)`|return list of webhooks names
        `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 webhook ...`|delete all repo webhooks
        `python -m github_webhooks.names`|print repo webhooks names
        `python -m github_webhooks.urls`|print repo webhooks urls
        
        #### Examples
        ```bash
        $ cd path/to/repo
        $ python -m github_webhooks.create https://xxx.execute-api.us-east-1.amazonaws.com/run
        $ python -m github_webhooks.names
        web
        $ python -m github_webhooks.urls
        https://xxx.execute-api.us-east-1.amazonaws.com/run
        $ python -m github_webhooks.delete "web"
        ```
        
        #### Links
        +   [webhooks REST API v3](https://developer.github.com/v3/repos/hooks/)
        
        <p align="center"><a href="https://pypi.org/project/readme-md/">readme-md</a> - README.md generator</p>
Keywords: github webhooks
Platform: UNKNOWN
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
