Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for wwr-api, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size wwr_api-0.0.3-py3-none-any.whl (14.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wwr_api-0.0.3.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

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