django-chatwork is Chatwork integration for Django.
Requirement
Python >= 3.5
Django >= 1.11
Quick start
Install by pip
# instal from PyPI pip install django-chatwork # install from github master branch pip install -U https://github.com/kacchan822/django-chatwork/archive/master.tar.gz
Add “chatwork” to INSTALLED_APPS
INSTALLED_APPS = [ ... 'chatwork', ... ]Set Valuse in settings
# You have to set this CHATWORK_API_TOKEN = 'youre api token' # You don't have to usually set this CHATWORK_API_ENDPOINT_BASE = 'https://api.chatwork.com/v2' # default CHATWORK_API_BACKEND = 'chatwork.backends.http.UrllibBackend' # default if DEBUG = False # if DEBUG = True, the value set 'chatwork.backends.dummy.DummyBackend' as default CHATWORK_API_FAIL_SILENTLY = None # defaultUsage
from chatwork import send_message ... # send message to room_id = 123456 send_chatwork('message text hear', 123456) # send message to room_id = 123456 with [To:] for all members send_chatwork('message text hear', 123456, to_all=True) # send message to room_id = 123456 with INFO format # INFO format contains [To:] for all users send_chatwork('message text hear', 123456, title='info title') ...
Acknowledgements
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-chatwork-0.5.0.tar.gz
(10.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-chatwork-0.5.0.tar.gz.
File metadata
- Download URL: django-chatwork-0.5.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15d9e4d9ecc55fa861f37853d4ff5a9c825bdbbac63cf0bbf740c8f08fba71b0
|
|
| MD5 |
4596333c248be439e98a592fa902afe7
|
|
| BLAKE2b-256 |
2a270047da8d7880f21ab1dfb368adc4a5d28ef767d64cf9d352d8cbb4198b2f
|
File details
Details for the file django_chatwork-0.5.0-py3-none-any.whl.
File metadata
- Download URL: django_chatwork-0.5.0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f2e1cb8a03e4dd370a0ace3e31ea961060533a59b6bc569480c6ba09f509538
|
|
| MD5 |
24b800594f0e513005cf4c709cbeb904
|
|
| BLAKE2b-256 |
110fa278ecc2a3110cfe65f8b2a4d4d6f59e1d21ba6ef25e39d728b2cf232939
|