Slack Webhooks API Client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
webhooks
.gitignore
LICENSE
README.md
requirements.txt
setup.py

README.md

Slack Webhooks API Client

A small api for interacting with Slack Webhooks

Thanks

Inspired by slackr.

Example

from webhooks import IncomingWebhook
webhook_url = `https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZZZ`
wh = IncomingWebhook(url=webhook_url)
r = wh.message('test message')
print(r.text)

Installation

$ pip install slack-webhooks

or

$ python setup.py install

Resources