Skip to main content

wechat sdk

Project description



登录微信公众平台: 开发 -> 接口权限 -> 网页授权获取用户基本信息 -> 网页授权域名

Example Usage

  • 创建service
from wechat_oauth2 import WeChatService
wechat = WeChatService(appid,
  • 获取authorize_url
params = {'redirect_uri': redirect_uri, 'scope': 'snsapi_userinfo'}
return redirect(wechat.get_authorize_url(**params))

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for WeChat-OAuth2, version 0.1.2
Filename, size & hash File type Python version Upload date
WeChat-OAuth2-0.1.2.tar.gz (4.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page