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.1.1.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.1.1.tar.gz.
File metadata
- Download URL: pywe-oauth-1.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbbde5df05d74c6ae69d7366f8c139f34b292f6d8ed29fb6864d660f2b3c87e3
|
|
| MD5 |
ef0152e7d03db5f62a3ff79bcd21a6a8
|
|
| BLAKE2b-256 |
5d3f590c5620da19102610d02a21cb9a99cfa0987bb1337a89e532aba690f43f
|
File details
Details for the file pywe_oauth-1.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: pywe_oauth-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13f31772d03d9959588f63a5d016c7d34b7321e1067aa53d17602071a08e21c6
|
|
| MD5 |
39b848a268c8d6e871c9d2a892ce14ef
|
|
| BLAKE2b-256 |
07682b7d709aad557b1b37a4246774c05a2fd9faf2df12af8f980b3be92792aa
|