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 hashes)
Built Distribution
Close
Hashes for pywe_menu-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9d5d870bf653450147dd57b73fb1296f0ef376b7ba3db5b61e71da1cbe325b |
|
MD5 | 5f222b89c9aa08bd884d0a7ae7888b37 |
|
BLAKE2b-256 | 78cfb90663a8b474e72374d5b09233ecb8f4e7134c60cfc47014d1b25364906d |