Introduction
wechatkit is a common wechat api component.
Document
Feature Support
- Wechat payment
- User api
- OAuth validation
Installation
To install wechatkit, simply:
pip install wechatkit
Usage
from wechatkit import WechatAPI
WechatAPI.get_access_token(appid, appsecret)
WechatAPI.get_web_access_token(appid, appsecret)
WechatAPI.get_callbackip(access_token)
WechatAPI.get_user_info(access_token, openid)
WechatAPI.get_user_list(access_token, openid)
WechatAPI.get_jsapi_ticket(web_token)
ChangeLog
License
MIT. See LICENSE for more details.