Skip to content

chrisgilmerproj/slack-webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages