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_webhook
access_token = 'xxxxxxx...xxx' # 创建webhook机器人时的access_token
dt = dingtalk_webhook.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.

Source Distribution

dingtalk-webhook-1.1.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page