weixin-api
weixin api for miniprogram and minigame.
pip install -U weixin-api
Usage
import weixin_api
weixin_api.auth: 登录
weixin_api.media: 素材
weixin_api.message: 客服消息
weixin_api.qrcode: 二维码
weixin_api.template: 模板消息
weixin_api.sns: sns相关
pay:
from weixin_api.midas import MidasPay
midas_pay = MidasPay(
app_id='appid',
offer_id='12345678',
app_key='app_key',
sandbox=False,
)
midas_pay.getbalance(access_token, session_key, open_id, **kwargs)
midas_pay.pay(access_token, session_key, open_id, bill_no, amount, **kwargs)
midas_pay.cancelpay(access_token, session_key, open_id, bill_no, **kwargs)
midas_pay.present(access_token, session_key, open_id, bill_no, **kwargs)
Metadata
Release files for weixin-api 1.4.0
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-api-1.4.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weixin_api-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / weixin-api-1.4.0.tar.gz
| Download URL | weixin-api-1.4.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2ed8a1a4f38609c8c9811877e701c35aa0e89835b11f7b6f085af647ae83766
|
|
BLAKE2b-256 checksum How to use checksums |
75271d8fc0adaf50c6b6bdfb84c67297739d621e6b106d067c277e9b23388473
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5
|
Release files / weixin_api-1.4.0-py3-none-any.whl
| Download URL | weixin_api-1.4.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7452619211edb2a37c87055b4729eec50a5b3b9b3ac7336a7f90ee492a141e89
|
|
BLAKE2b-256 checksum How to use checksums |
c691f9d5f062be1a8a13bf12082ac1860d95fd67b54cd01156ea4eabaaa6e8fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5
|