BearyChat.py¶
BearyChat.py is a SDK for BearyChat.
Quick links¶
Hello, world¶
Here is a simple “Hello, world” example app for BearyChat Incoming:
from bearychat import incoming
def main():
data = {
"text": "hello, **world**",
"markdown": True,
"notification": "Hello, BearyChat in Notification",
"channel": "testing"
}
resp = incoming.send(
"https://hook.bearychat.com/=bw52O/incoming/token",
data)
print(resp.status_code)
print(resp.text)
if __name__ == "__main__":
main()
Installation¶
Automatic installation:
pip install bearychat
BearyChat.py is listed in PyPI, and
can be installed with pip
or easy_install
.
Prerequisites: BearyChat.py runs on Python 2.6+ and Python 3.3+(more). And HTTP library request is required.
Documentation¶
Contents:
Discussion and support¶
You can report bugs on the GitHub issue tracker