Skip to main content

Wechat MarketCode Module for Python.

Project description

Wechat MarketCode Module for Python.

Installation

pip install pywe-marketcode

Usage

from pywe_marketcode import MarketCode, applycode, applycodequery, applycodedownload, codeactive, codeactivequery, tickettocode

Method

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

    def applycode(self, isv_application_id, code_count, appid=None, secret=None, token=None, storage=None):

    def applycodequery(self, isv_application_id, application_id, appid=None, secret=None, token=None, storage=None):

    def applycodedownload(self, application_id, code_start, code_end, appid=None, secret=None, token=None, storage=None, decrypted=True):

    def codeactive(self, application_id, activity_name, product_brand, product_title, product_code, wxa_appid, wxa_path, code_start, code_end, wxa_type=0, appid=None, secret=None, token=None, storage=None):

    def codeactivequery(self, application_id=None, code_index=None, code=None, code_url=None, appid=None, secret=None, token=None, storage=None):

    def tickettocode(self, code_ticket, openid, 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-marketcode-1.0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

pywe_marketcode-1.0.2-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywe-marketcode-1.0.2.tar.gz.

File metadata

  • Download URL: pywe-marketcode-1.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

File hashes

Hashes for pywe-marketcode-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4fb139c12ca4651e638f869891616bff731da910f170245ab87e470583a924d4
MD5 338b688b9384eb461c624b0faa19ee80
BLAKE2b-256 436fc51ef837ddf6ef8120be41be24ad40a5f3cc08bb39cfdd12d3145b659b31

See more details on using hashes here.

File details

Details for the file pywe_marketcode-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pywe_marketcode-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

File hashes

Hashes for pywe_marketcode-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1970105cc5196cb99a828ff0fcd212b3be0d07ddda752786982dde6e3ad737be
MD5 e2fbcfd9e88f9af0221dae1d86aad983
BLAKE2b-256 ae5ef4f3b487609fd434b1888e4d1b0840baccc27c36f3640efa17085ed80d33

See more details on using hashes here.

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