Skip to main content

wechat send message

Project description

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

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

wechat_msg-0.5.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

wechat_msg-0.5-py3-none-any.whl (4.4 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