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


Download files

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

Source Distribution

ibearychat-0.1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

ibearychat-0.1.0-py2-none-any.whl (3.9 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page