Skip to main content

Wechat Subscribe Message Module for Python.

Project description

Wechat Subscribe Message Module for Python.

Sandbox

Installation

pip install pywe-subscribe-message

Usage

from pywe_subscribe_message.subscribemsg import SubscribeMessage, send_subscribe_template_message, send_wxa_subscribe_template_message

Method

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

def send_subscribe_template_message(self, user_id, template_id, data, url=None, scene=None, title=None, miniprogram=None, mini_program=None, miniappid=None, minipagepath=None, appid=None, secret=None, token=None, storage=None):

def send_wxa_subscribe_template_message(self, user_id, template_id, data, page=None, miniprogram_state=None, lang=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-subscribe-message-1.0.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

pywe_subscribe_message-1.0.0-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywe-subscribe-message-1.0.0.tar.gz.

File metadata

  • Download URL: pywe-subscribe-message-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for pywe-subscribe-message-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1c4ead369d7b560846498faeff1666017c9a2ca83ba3cbbbd7790c66f08b81ca
MD5 4312d1cca86becf5cf4e8ab125798ade
BLAKE2b-256 513ca19192b7456ad77336da411a9ac0ed1434f2220956fa7174f9b610553c17

See more details on using hashes here.

File details

Details for the file pywe_subscribe_message-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pywe_subscribe_message-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for pywe_subscribe_message-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4031cadb9937e45ceff9b9abbde314b63f5893388f4afce5245042dda56bf35b
MD5 c1606f2f8fb6e51f24390fde1566666d
BLAKE2b-256 bd78082eaf4974cae6a63739d14c7eec901b38fa1969356b036244f17c1854c5

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