Skip to main content

Wechat Oauth Module for Python.

Project description

Wechat Oauth Module for Python.

Installation

pip install pywe-oauth

Usage

from pywe_oauth import get_access_info, get_oauth_code_url, get_userinfo, get_component_access_info, get_component_oauth_code_url, get_component_userinfo, get_oauth_redirect_url

Method

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

def get_access_info(self, appid=None, secret=None, code=None, component=False, component_appid=None, component_access_token=None):

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

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

def get_component_access_info(self, appid=None, code=None, component_appid=None, component_access_token=None):

def get_component_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, random_str=True):

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.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

pywe_oauth-1.1.0-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywe-oauth-1.1.0.tar.gz.

File metadata

  • Download URL: pywe-oauth-1.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for pywe-oauth-1.1.0.tar.gz
Algorithm Hash digest
SHA256 47d9ae6d8d599ad8e067a0742fe3f3deba7c29d9fe6955e860670e54a47f4839
MD5 eaeded622168c7630da0d9547c4b1de2
BLAKE2b-256 c0ef064b5228aa249565d36b831dc6cd80b52ba4afcf8ea1186cdab21896f468

See more details on using hashes here.

File details

Details for the file pywe_oauth-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pywe_oauth-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for pywe_oauth-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 572fff2a17d93f5ea9ab617d075255ac34970f55f6cacc09f14f77351cc43e3c
MD5 f4aba26db6e099aec0e35ce5f16d646b
BLAKE2b-256 40f120ff76cae32605a2226b89baffedf8fb941e81f97ea45cf44a30aa402272

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page