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_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):
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.0.5.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for pywe_oauth-1.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fb1b216f9bf3a3f5335d6a18acfc6e8b881ce353b7e092faa8ad5604b015935 |
|
MD5 | 33deff533e7af48b7ec486078324ac5c |
|
BLAKE2b-256 | 4624065c32b8d1876f8a48cb17eecd2f427f533426c9b2e3b338acc8c4df2bb9 |