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.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

pywe_subscribe_message-1.0.1-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.1.tar.gz.

File metadata

  • Download URL: pywe-subscribe-message-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 58197ef7d42565bc808dd237ab5cb0b4519552303b863ab2a787b08cfec1b10f
MD5 5118af75a29f12b60858c26ddd61c715
BLAKE2b-256 94af92531054570ae9be4a4f6498ab8228739474be3285b9b96a868e39f04fad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywe_subscribe_message-1.0.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 667bf54c7ab86463d9ef2bad46333fe974ade7c0b3c3fc639a6f15bf7afaaac5
MD5 6c8141f1e65489d7cdbc3737adbf5cd2
BLAKE2b-256 711928be9daaac6116074509d6e6437909720bff49d1a4501a33f5bce52a483d

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