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 Python 3

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