Interface for Tencent enterprise weixin.
Project description
qyweixin
Enterprise weixin, interface.
Usage
get token
>>> import qyweixin
>>> token = qyweixin.get_token('corpid', 'corpsecret')
>>> token
...
push message
>>> import qyweixin
>>> push_msg = qyweixin.WeixinPush()
>>> push_msg.push_text_msg(token=token, agentid=0, content='test msg', touser='test', toparty='test_group', totag='', safe=0)
True
upload files
>>> import qyweixin
>>> media_id = qyweixin.upload(token, filename, filepath, filetype)
...
Features
push messages
uploads media
manage media
more qyweixin api
Installation
To install qyweixin, simply:
$ pip install qyweixin
License
Copyright (C) 2015 TaoBeier
HISTORY
2015.09.27 Start
2015.10.08 Add file upload
2015.11.19 Simple API
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.2.0.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for qyweixin-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae998a668be8969d64239555784f6b52617a3d4313fd44c83b3bca383f7e4a72 |
|
MD5 | fdb3ee32d4aeff3b4c93e7c393fd47ef |
|
BLAKE2b-256 | d5a9c9a018d57c9722b44550d33db74e9dc957b659d4374129c4585bdc07e5dd |