微信开放接口封装库
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 details)
Built Distributions
File details
Details for the file weixin-open-api-0.0.5.tar.gz
.
File metadata
- Download URL: weixin-open-api-0.0.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a23cb0da7fb462a10aa0bf8c21fef5ed14f218339a351f6de31276d5c76dda1 |
|
MD5 | 0b09019fd06626d58016e0acf50cdf4e |
|
BLAKE2b-256 | 3e2e833a6f33598610e50d9fc777efac6bd203e355cbc787202e9217a0fb6109 |
File details
Details for the file weixin_open_api-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: weixin_open_api-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0fff6752088b68bf6b896ad755203ffe0af0e791c0ccdde3e0390743a7a3ab |
|
MD5 | 2db49a4854395459a632cbff1702b1a8 |
|
BLAKE2b-256 | 127fea513e67e93f8be0a99dd1aa8cb3285102a8417cfe09262b1a47e7019e51 |
File details
Details for the file weixin_open_api-0.0.5-py2-none-any.whl
.
File metadata
- Download URL: weixin_open_api-0.0.5-py2-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d9e9a3eacfd2584accb4f7eb95e626db64fc1719aeae3b08903838811f1fe5 |
|
MD5 | 78f8bef67a2680f847c79dfd2d6a5969 |
|
BLAKE2b-256 | b3660984047561a7fdf1d48c21918e2d64b0be10a9fa339546e6747d7be9b26f |