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.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

wwr_api-0.0.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wwr_api-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 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.2.tar.gz
Algorithm Hash digest
SHA256 b6c87cf37053a1a15090687249beca27e673dc6f9d2a3bafc1ac21d2cea47ee0
MD5 67e791a42f1d18e0805b32748ac260bd
BLAKE2b-256 aff74542cfde82549667edffd21e3592b194c76f54233e25f278d5fd6ecf9da7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wwr_api-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a3f6eca632583e21199797758c01ec06546f74b310bc0c49b65394cce8c879a2
MD5 fa6ee9dab5769461971dbc4ccbbe45e1
BLAKE2b-256 69c57f3298abbeced75244c889c07a7c45f65a23dbab56d78c36868e07efd9ea

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