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):
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.5.tar.gz
(2.3 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.5.tar.gz.
File metadata
- Download URL: pywe-oauth-1.0.5.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4babebd47fd75beed447402f5298c9800e9028ca6f57f7a01d831970c5bc727f
|
|
| MD5 |
b85eadbaa47106880878bb9aafacb79f
|
|
| BLAKE2b-256 |
839f42482c2e7f264c6c28bf2471580f158502775b10cd012469f1d60104fe34
|
File details
Details for the file pywe_oauth-1.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: pywe_oauth-1.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb1b216f9bf3a3f5335d6a18acfc6e8b881ce353b7e092faa8ad5604b015935
|
|
| MD5 |
33deff533e7af48b7ec486078324ac5c
|
|
| BLAKE2b-256 |
4624065c32b8d1876f8a48cb17eecd2f427f533426c9b2e3b338acc8c4df2bb9
|