Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 703 Bytes

README.rst

File metadata and controls

33 lines (18 loc) · 703 Bytes

pyqywe-miniapp

Wechat MiniProgram Module for Python.

Installation

pip install pyqywe-miniapp

Usage

from pyqywe_miniapp import get_session_key, get_userinfo, get_phone_number

Method

def get_session_key(self, appid=None, secret=None, code=None, grant_type='authorization_code', storage=None):

def get_userinfo(self, appid=None, secret=None, code=None, grant_type='authorization_code', session_key=None, encryptedData=None, iv=None, storage=None):

def get_phone_number(self, appid=None, secret=None, code=None, grant_type='authorization_code', session_key=None, encryptedData=None, iv=None, storage=None):