No project description provided
Project description
DingTalk2 介绍
钉钉支持 Webhook 模式接入事件推送、机器人收消息以及卡片回调等
- 开源协议: MIT license
- 使用文档: https://dingtalk2.readthedocs.io.
快速开始
准备工作
- Python3 开发环境,https://www.python.org/
- 钉钉机器人的 token
快速开始指南
1、安装 dingtalk2
python -m pip install dingtalk2
2、使用 dingtalk2
from dingtalk2 import dingtalk
access = '6eab6a1161ea33c2693aae53fe92c298469f685aed8261ffdfd15d2bcfcxxxxxxx'
secret = 'SEC0ed50da84fca5e37491b032a660dcfd2fd6aef8e2dcb74caa39ddxxxxxxxxxx'
client = dingtalk.DingTalk(access=access, secret=secret)
client.text("hello")
client.image(pic_url='http://uc-test-manage-00.umlife.net/jenkins/pic/flake8.png')
技术支持
可以搜索共创群,答疑交流。
共创群ID:xxx (钉钉搜索群号入群);
也可以扫码入群:
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
dingtalk2-0.1.2.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file dingtalk2-0.1.2.tar.gz
.
File metadata
- Download URL: dingtalk2-0.1.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.10.0-19-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c842ff88cd1f468785a6945fd89776dcd51dac14e9b1fcc3d2570ec31d112a |
|
MD5 | 78b3d4a83651850933cdd12b8cc368fa |
|
BLAKE2b-256 | 4e184a18e439522988c0b7ee7eda56cc900d5de0c40be57c9d17420703ab3fe1 |
File details
Details for the file dingtalk2-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: dingtalk2-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.10.0-19-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b51483223163be8ca21b7b52621d05fb487e1fa16961c077ab27f5a1b06e1c76 |
|
MD5 | 92b08518647e10c9e3fd68476089878d |
|
BLAKE2b-256 | f7d131c3a43cfa5d32d433674060aa310f9214c1f97b913b6edaaae7f061fb60 |