微信开放接口封装库
Project description
weixin-open-api
微信开放部分接口Python封装
Github: https://github.com/mouday/weixin-open-api
已实现:
- 微信分享必要参数
install
pip install weixin-open-api
access_token
默认使用了 mo-cache 的FileCache文件缓存
demo
from weixin_open_api import WeixinOpenClient
class CustomWeixinOpenClient(WeixinOpenClient):
appid = ''
secret = ''
if __name__ == '__main__':
client = CustomWeixinOpenClient()
data = client.get_share_params(url='https://www.baidu.cn/app')
print(data)
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
weixin-open-api-0.0.5.tar.gz
(4.2 kB
view hashes)
Built Distributions
Close
Hashes for weixin_open_api-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0fff6752088b68bf6b896ad755203ffe0af0e791c0ccdde3e0390743a7a3ab |
|
MD5 | 2db49a4854395459a632cbff1702b1a8 |
|
BLAKE2b-256 | 127fea513e67e93f8be0a99dd1aa8cb3285102a8417cfe09262b1a47e7019e51 |
Close
Hashes for weixin_open_api-0.0.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d9e9a3eacfd2584accb4f7eb95e626db64fc1719aeae3b08903838811f1fe5 |
|
MD5 | 78f8bef67a2680f847c79dfd2d6a5969 |
|
BLAKE2b-256 | b3660984047561a7fdf1d48c21918e2d64b0be10a9fa339546e6747d7be9b26f |