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 hashes)
Built Distribution
Close
Hashes for idingtalk-0.0.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b571aa7a0fe0010772f953138865f325d3877d859df1f58ada99064de6a138 |
|
MD5 | 8ed7b9ed8194e8363db0f894c1118bae |
|
BLAKE2b-256 | 84716ee036089f6ddbe9ba0c0385f43901ad192112da735ed82174784eebda41 |