Skip to main content

Bearychat tools.

Project description

ibearychat

Tools package for bearychat.

install

pip install ibearychat

demo

from ibearychat import bearychat_incoming

webhook_url = "your_incoming_url"

bearychat_incoming(
    webhook_url,
    pretext="This is pretext.",
    title="This is title.",
    url="https://www.teachmyself.cn.",
    color="#70cc29",
    text_list=["This is the first line.", "This is the second line"],
    debug=True
)

# or

payload = {
    "pretext"   : "This is pretext.",
    "title"     : "This is title.",
    "url"       : "This is title.",
    "color"     : "#70cc29",
    "text"      : ["This is the first line.", "This is the second line"],
}
bearychat_incoming(webhook_url, payload=payload, debug=True)

Project details


Release history Release notifications

This version

0.1.0

Download files

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

Files for ibearychat, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size ibearychat-0.1.0-py2-none-any.whl (3.9 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size ibearychat-0.1.0.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page