Skip to main content

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


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)

Uploaded source

Built Distribution

pywe_menu-1.0.0-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page