Wechat Menu Module for Python.
Project description
Wechat Menu Module for Python.
Sandbox
Installation
pip install pywe-menu
Usage
from pywe_menu import Menu, add_conditional, create_menu, del_conditional, del_menu, delete_menu, delete_conditional, get_current_selfmenu_info, get_menu, try_match
Method
class Menu(BaseToken): def __init__(self, appid=None, secret=None, token=None, storage=None): super(Menu, self).__init__(appid=appid, secret=secret, token=token, storage=storage) def create_menu(self, menus, appid=None, secret=None, token=None, storage=None): def get_menu(self, appid=None, secret=None, token=None, storage=None): def delete_menu(self, appid=None, secret=None, token=None, storage=None): def add_conditional(self, menus, appid=None, secret=None, token=None, storage=None): def del_conditional(self, menuid, appid=None, secret=None, token=None, storage=None): def try_match(self, user_id, appid=None, secret=None, token=None, storage=None): def get_current_selfmenu_info(self, appid=None, secret=None, token=None, storage=None):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywe-menu-1.0.0.tar.gz
(2.4 kB
view details)