Skip to main content

Wechat_msg

企业微信发送消息接口,Python

from wechat_msg.WeChat import Authorize, Send, Upload

corpid = ''
corpsecret = ''
agentid = ''

a = Authorize(corpid, corpsecret)
token = a.get_token()

s = Send(agentid, token)
s.send_msg("TEST", name="username")
s.send_img("img_path", name="username")

Release files for wechat-msg 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wechat-msg 0.5
File Size Uploaded
wechat_msg-0.5.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wechat-msg 0.5
File Interpreter ABI Platform
wechat_msg-0.5-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / wechat_msg-0.5.tar.gz

Download URL wechat_msg-0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
98e14527279f59075a80381973dfd7cdd2bb6bf9ef3c0eb4af1bd4109be5639b
BLAKE2b-256 checksum
How to use checksums
5dcba0b403cdd232b8deb83ca653cef95b3a0ad255ffbeedd36d9fdc5c2cb665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / wechat_msg-0.5-py3-none-any.whl

Download URL wechat_msg-0.5-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf14dd76c82858c2df7657b46c1c8938873a491f1d356f909e0012b4be408b4a
BLAKE2b-256 checksum
How to use checksums
61900615af9c2c0884f0b09f608a2919ee97ec9e352019bb1815a3346eac27bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.5 This release

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page