Skip to main content

send dingtalk message to dingding webhook robot

Project description

功能

  • 发送钉钉过消息到webhook机器人。
  • 支持所有钉钉消息类型。

安装

1. 安装requests
pip install requests

2. 安装该模块
pip install dingtalk-webhook

使用

import dingtalk
access_token = 'xxxxxxx...xxx' # 创建webhook机器人时的access_token
dt = dingtalk.DingTalk(access_token)
dt.send_text(text='测试消息', at_all=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dingtalk-webhook, version 1.1.5
Filename, size File type Python version Upload date Hashes
Filename, size dingtalk-webhook-1.1.5.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page