Skip to main content

Wechat Oauth Module for Python.

Project description

Wechat Oauth Module for Python.


pip install pywe-oauth


from pywe_oauth import get_access_info, get_oauth_code_url, get_userinfo, get_oauth_redirect_url


def get_oauth_code_url(self, appid=None, redirect_uri=None, scope='snsapi_base', redirect_url=None):

def get_access_info(self, appid=None, secret=None, code=None):

def get_userinfo(self, access_token=None, openid=None):

def get_oauth_redirect_url(self, oauth_uri, scope='snsapi_base', redirect_url=None, default_url=None, direct_redirect=None):

Project details

Download files

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

Source Distribution

pywe-oauth-1.0.6.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

pywe_oauth-1.0.6-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page