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)