Skip to main content

WorkWechat Robot APIs

Project description

准备

  1. 企业微信机器人 Hook 地址,形如: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0azd012d-efs9-4add-bcw9-10fb01db70ca (此条已脱敏)
  2. Python3 环境

安装方式

shell script pip3 install wwr_api

使用方式

from wwr_api import WorkWechatRobotAPI

api = WorkWechatRobotAPI("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0azd012d-efs9-4add-bcw9-10fb01db70ca")
api.send_markdown("**`Hello World!`**")
api.send_pic("https://github.com/Thoxvi/one-click-man/blob/master/demo.png?raw=true")
api.send_pic("/home/thoxvi/demo.png")

建议/Bug

请提 Issue。

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

wwr_api-0.0.3.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

wwr_api-0.0.3-py3-none-any.whl (14.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page