Skip to main content

Basic webhook messaging, want to add bot interactivy next

Project description

py_slack

basic webhook messages, want interactivity next

CLI

python3 send_hook.py https://hook_url/xxxxx/xxxx string_of_txt

In Code

In practice, I use this to send JSONs of Python objects. Here's how to use it in code:

from send_hook import send_msg_hook

send_hook_msg(hook_url, msg, format_type)
#hook_url expects a string url with the appropriate protocol at the beginning, for example http:// or https://
#msg expects either a dictionary or a string
#format_type defaults to 'snippet', but can be set to 'plain'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-slack, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size py_slack-0.0.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page