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"])
Release files for idingtalk 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idingtalk-0.0.5.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idingtalk-0.0.5-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.6 kB
Release files / idingtalk-0.0.5.tar.gz
| Download URL | idingtalk-0.0.5.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46881ff3c0a6bf6e2afeac8f4c64b461643476620f62e75ab778102aeddc1d3b
|
|
BLAKE2b-256 checksum How to use checksums |
76951d2ffe4a92587f07b7c3524190bbeed42d52b0a5ae9fc49a78b96b74e66d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / idingtalk-0.0.5-py2-none-any.whl
| Download URL | idingtalk-0.0.5-py2-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
30b571aa7a0fe0010772f953138865f325d3877d859df1f58ada99064de6a138
|
|
BLAKE2b-256 checksum How to use checksums |
84716ee036089f6ddbe9ba0c0385f43901ad192112da735ed82174784eebda41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|