Skip to main content

Wechat MemberCard Module for Python.

Project description

Wechat MemberCard Module for Python.

Installation

pip install pywe-membercard

Usage

from pywe_membercard import MemberCard, get_activate_url, get_miniapp_extraData

Method

class MemberCard(BaseToken):
    def __init__(self, appid=None, secret=None, token=None, storage=None):
        super(MemberCard, self).__init__(appid=appid, secret=secret, token=token, storage=storage)

def get_activate_url(self, card_id, outer_str=None, appid=None, secret=None, token=None, storage=None):

def get_miniapp_extraData(self, card_id, outer_str=None, 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-membercard-1.0.4.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

pywe_membercard-1.0.4-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page