Metadata-Version: 2.1
Name: WhPy
Version: 0.1.1
Summary: A Python 3 webhook module.
Home-page: https://github.com/MichaelCduBois/WhPy
Author: Michael duBois
Author-email: mdubois@mcduboiswebservices.com
License: UNKNOWN
Description: # WhPy - Webhook Python
        
        [![PyPI](https://img.shields.io/pypi/v/WhPy)](https://pypi.org/project/WhPy/)
        [![PyPI - License](https://img.shields.io/pypi/l/WhPy)](https://pypi.org/project/WhPy/)
        [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/WhPy)](https://pypi.org/project/WhPy/)
        [![PyPI - Downloads](https://img.shields.io/pypi/dm/WhPy)](https://pypi.org/project/WhPy/)
        
        Webhook Python is a Python 3 module for interacting with various chat applications via established webhooks.
        
        ## Installation
        
        > pip install WhPy
        
        ## Code Examples
        
        Hello, World!
        
        ``` python 3
        from WhPy import discord
        
        # Discord Webhook URL
        webhook_url = "https://discordapp.com/api/webhooks/1234/567890"
        
        # Creates Discord Instance
        hook = discord.Webhook(url=webhook_url)
        
        # Sets Message Content
        hook.message(content="Hello, World!")
        
        # Executes the Webhook
        hook.execute()
        ```
        
        Hello, World! from user `MichaelCduBois`
        
        ``` python 3
        from WhPy import discord
        
        # Discord Webhook Parameters
        webhook_channel_id = "1234"
        webhook_token = "567890"
        
        # Creates Discord Instance
        hook = discord.Webhook(channel_id=webhook_channel_id, token=webhook_token)
        
        # Sets Message Content as MichaelCduBois
        hook.message(content="Hello, World!", username="MichaelCduBois")
        
        #Executes the Webhook
        hook.execute()
        ```
        
        Hello, World! Text-to-Speech Message
        
        ``` python 3
        from WhPy import discord
        
        # Discord Webhook URL
        webhook_url = "https://discordapp.com/api/webhooks/1234/567890"
        
        # Creats Discord Instance
        hook = discord.webhook(url=webhook_url)
        
        # Sets Message content as a Text-to-Speech Message
        hook.message(content="Hello, World!", tts=True)
        
        # Executes the Webhook
        hook.execute()
        ```
        
        Return message confirmation as JSON Object
        
        ``` python 3
        from WhPy import discord
        
        # Discord Webhook URL
        webhook_url = "https://discordapp.com/api/webhooks/1234/567890"
        
        # Creats Discord Instance
        hook = discord.webhook(url=webhook_url)
        
        # Sets Message Content
        hook.message(content="Hello, World!")
        
        # Executes the Webhook
        hook.execute(wait=True)
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
