Wechat Template Message Module for Python.
Project description
Wechat Template Message Module for Python.
Sandbox
Installation
pip install pywe-template-message
Usage
from pywe_template_message import TemplateMessage, INDUSTRY_LIST, set_industry, get_industry, add_template, get_all_private_template, del_private_template, send_template_message
Method
class TemplateMessage(BaseToken): def __init__(self, appid=None, secret=None, token=None, storage=None): super(TemplateMessage, self).__init__(appid=appid, secret=secret, token=token, storage=storage) def set_industry(self, industry_id1, industry_id2, appid=None, secret=None, token=None, storage=None): def get_industry(self, appid=None, secret=None, token=None, storage=None): def add_template(self, template_id_short, appid=None, secret=None, token=None, storage=None): def get_all_private_template(self, appid=None, secret=None, token=None, storage=None): def del_private_template(self, template_id, appid=None, secret=None, token=None, storage=None): def send_template_message(self, user_id, template_id, data, url=None, mini_program=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-template-message-1.0.1.tar.gz
.
File metadata
- Download URL: pywe-template-message-1.0.1.tar.gz
- Upload date:
- Size: 3.2 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 | acaaa39fce22c2399cc6c9b52f90915da6e701bb5500d34d8215de11eb2b35e3 |
|
MD5 | 0261eda7475ffe819dafe1554f66c758 |
|
BLAKE2b-256 | 0859e265a9de6662588ae14d2f973d32f925b194321c8ccc43412021584a685e |
File details
Details for the file pywe_template_message-1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pywe_template_message-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 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 | f3cf2c7ceea5dcb7514da6215720cf7ce875a017408ff1d6e9e1e49ae188bb4b |
|
MD5 | 7fbb012209c9f5f72f3c3ae8122396d5 |
|
BLAKE2b-256 | bbeece2a6925330a73ab86f09c49ee175ef94d32efc9df3b8534ffe787fef882 |