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)
Metadata
Release files for weixin-open-api 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weixin-open-api-0.0.5.tar.gz | 4.2 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weixin_open_api-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
| weixin_open_api-0.0.5-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 16.7 kB
Release files / weixin-open-api-0.0.5.tar.gz
| Download URL | weixin-open-api-0.0.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a23cb0da7fb462a10aa0bf8c21fef5ed14f218339a351f6de31276d5c76dda1
|
|
BLAKE2b-256 checksum How to use checksums |
3e2e833a6f33598610e50d9fc777efac6bd203e355cbc787202e9217a0fb6109
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / weixin_open_api-0.0.5-py3-none-any.whl
| Download URL | weixin_open_api-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d0fff6752088b68bf6b896ad755203ffe0af0e791c0ccdde3e0390743a7a3ab
|
|
BLAKE2b-256 checksum How to use checksums |
127fea513e67e93f8be0a99dd1aa8cb3285102a8417cfe09262b1a47e7019e51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / weixin_open_api-0.0.5-py2-none-any.whl
| Download URL | weixin_open_api-0.0.5-py2-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
d1d9e9a3eacfd2584accb4f7eb95e626db64fc1719aeae3b08903838811f1fe5
|
|
BLAKE2b-256 checksum How to use checksums |
b3660984047561a7fdf1d48c21918e2d64b0be10a9fa339546e6747d7be9b26f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|