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_oauth_redirect_url
Method
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):
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 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.6.tar.gz.
File metadata
- Download URL: pywe-oauth-1.0.6.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e6ad84fe4a4b342d741a314f4e26982910bcc8ed4c6c6dc1fb66a009414ba93
|
|
| MD5 |
645a483d5f3f6a881fa9eefee09c3396
|
|
| BLAKE2b-256 |
1fc9ce6b3349df3b95cbfecc84f0354534f2b003f8a3c68086239173f784b5e6
|
File details
Details for the file pywe_oauth-1.0.6-py2.py3-none-any.whl.
File metadata
- Download URL: pywe_oauth-1.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6755cd8463060a1877b6660f236060db91473fff8a74a3e83f0c6a8df6996b8a
|
|
| MD5 |
f243beacfecf4ce46b6c8e720ef7c341
|
|
| BLAKE2b-256 |
f9be927189560c3eda3e23665c0450c981b5b14075b6a30aab0dff9f30c53c86
|