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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file wwr_api-0.0.3.tar.gz.

File metadata

  • Download URL: wwr_api-0.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for wwr_api-0.0.3.tar.gz
Algorithm Hash digest
SHA256 692cf58a0c665210ef052550faa61c77253c5e9a46ecb5ce41c4a7e7f812104b
MD5 7ee2c18fb1c879f3e2ec1609a76bbd7e
BLAKE2b-256 c5d80cae96cbd9e1e91eaa5437aa7ea81512fb19e22b9e8e06f4270b30ff69a8

See more details on using hashes here.

File details

Details for the file wwr_api-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: wwr_api-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for wwr_api-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 23851e5d0ab69b0b6e52a16e67d226d8d3719177e623ffe887641c8ccf249b33
MD5 338eef1f435fe77b3f0ab4e3205c0954
BLAKE2b-256 397f4054bfed1d026b1afac53fe040e8cc11c616275bf08fb041ebc8fd373978

See more details on using hashes here.

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