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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4ead369d7b560846498faeff1666017c9a2ca83ba3cbbbd7790c66f08b81ca |
|
MD5 | 4312d1cca86becf5cf4e8ab125798ade |
|
BLAKE2b-256 | 513ca19192b7456ad77336da411a9ac0ed1434f2220956fa7174f9b610553c17 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4031cadb9937e45ceff9b9abbde314b63f5893388f4afce5245042dda56bf35b |
|
MD5 | c1606f2f8fb6e51f24390fde1566666d |
|
BLAKE2b-256 | bd78082eaf4974cae6a63739d14c7eec901b38fa1969356b036244f17c1854c5 |