GitHub - chrisgilmerproj/slack-webhooks: Slack Webhooks API Client · GitHub
Skip to content

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

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

About

Slack Webhooks API Client

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages