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):
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.7.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywe-oauth-1.0.7.tar.gz.
File metadata
- Download URL: pywe-oauth-1.0.7.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0395c9788e6d1908b970727be32b65f15e127a2ae35cd010f7bdd428df94e175
|
|
| MD5 |
a5eba76817c13e318339066e5eca8845
|
|
| BLAKE2b-256 |
b746a1a229d19ca9cbb1d0ad87fc192ec8aef7794b106f9f12ff5055c49ac3d5
|
File details
Details for the file pywe_oauth-1.0.7-py2.py3-none-any.whl.
File metadata
- Download URL: pywe_oauth-1.0.7-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.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09a576a978f1ce580ea681a2781160f5f205964a7df60f7e75a8029f0ad94a4c
|
|
| MD5 |
260efefd0b73edab63b3f6359a15344b
|
|
| BLAKE2b-256 |
af41bfb4784c6d6caaa9b5ddd3e12f2b1b45390187b08e49449ed4d09e29d02b
|