wechatkit is a common wechat api component.
- Wechat payment
- User api
- OAuth validation
To install wechatkit, simply:
pip install wechatkit
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)
MIT. See LICENSE for more details.