Skip to main content

pywe-marketcode

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):

Metadata

Release files for pywe-marketcode 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywe-marketcode 1.0.3
File Size Uploaded
pywe-marketcode-1.0.3.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pywe-marketcode 1.0.3
File Interpreter ABI Platform
pywe_marketcode-1.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 5.9 kB

Release files / pywe-marketcode-1.0.3.tar.gz

Download URL pywe-marketcode-1.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bee26936e0f9e466ad2486cb36669d558d995fd9a25b3633ccb5ed9b8616fb27
BLAKE2b-256 checksum
How to use checksums
6b871d0427a3f753eb0b68aa9a50731ee1ed8ebdb8c2b133acc1af3915248631
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / pywe_marketcode-1.0.3-py2.py3-none-any.whl

Download URL pywe_marketcode-1.0.3-py2.py3-none-any.whl
Size 3.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c950a5fda607a581e9ef3b3d20db1c534b534d67cd3116b6ab2029803d0b5753
BLAKE2b-256 checksum
How to use checksums
9f9b66feebd11284975202e135f1cc2ef013d7b640f8f93ef16e65898556256c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page