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 hashes)
Built Distribution
Close
Hashes for dingtalk2-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b51483223163be8ca21b7b52621d05fb487e1fa16961c077ab27f5a1b06e1c76 |
|
MD5 | 92b08518647e10c9e3fd68476089878d |
|
BLAKE2b-256 | f7d131c3a43cfa5d32d433674060aa310f9214c1f97b913b6edaaae7f061fb60 |