Interface for Tencent enterprise weixin.
Project description
qyweixin
enterprise weixin, interface.
Usage
get token
>>> import qyweixin
>>> qy = qyweixin.AccessToken(corpid, corpsecret)
>>> token = qy.get_token()
>>> token
...
push message
>>> push_msg = qyweixin.WeixinPush()
>>> push_msg.push_text_msg(token=token, content='test msg')
True
upload files
>>> upload = qyweixin.Upload()
>>> media_id = upload.upload(token, filename, filepath, filetype)
...
Features
uploads media
manage media
receive message
more qyweixin api
Installation
To install qyweixin, simply:
$ pip install qyweixin
HISTORY
2015.09.27 start
2015.10.08 Add file upload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qyweixin-0.1.3.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for qyweixin-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f262e781d12d27e8105822a79e8d5b20a41733e1a9684a5e2d2445a3b64a313d |
|
MD5 | d8466a488948ddfacfe363f52b0513cd |
|
BLAKE2b-256 | 16c89f1b9858be99a2646bd07424545fb531d539d51bf9d23b2face10c596361 |