Dingtalk tools.
Project description
idingtalk
Tools package for dingtalk.
install
pip install idingtalk
demo
from idingtalk import dingtalk_incoming
token = ""
dingtalk_incoming(
token,
title="This is title",
text=["# This is title", "> This is first line.", "> This is second line."],
at_mobiles=["18600000000"],
at_all=False
)
# or
payload = {
"msgtype" : "markdown",
"markdown": {
"title": "This is push title!",
"text" : "\n\n".join([
"# This is text title.",
"> This is first line.",
"> This is second line.",
])
},
"at" : {
"atMobiles": ["18600000000"],
"isAll": False
}
}
dingtalk_incoming(token, payload=payload, at_mobiles=["18600000000"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
idingtalk-0.0.5.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file idingtalk-0.0.5.tar.gz
.
File metadata
- Download URL: idingtalk-0.0.5.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46881ff3c0a6bf6e2afeac8f4c64b461643476620f62e75ab778102aeddc1d3b |
|
MD5 | 1dd574c839249462eee9e74792925f7b |
|
BLAKE2b-256 | 76951d2ffe4a92587f07b7c3524190bbeed42d52b0a5ae9fc49a78b96b74e66d |
File details
Details for the file idingtalk-0.0.5-py2-none-any.whl
.
File metadata
- Download URL: idingtalk-0.0.5-py2-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b571aa7a0fe0010772f953138865f325d3877d859df1f58ada99064de6a138 |
|
MD5 | 8ed7b9ed8194e8363db0f894c1118bae |
|
BLAKE2b-256 | 84716ee036089f6ddbe9ba0c0385f43901ad192112da735ed82174784eebda41 |