RongLian SMS SDK
Project description
安装SDK
$ pip install ronglian_sms_sdk
Collecting ronglian_sms_sdk…
✔ Successfully installed ronglian-sdk-xx
…
示例
from ronglian_sms_sdk import SmsSDK
accId = '容联云通讯分配的主账号ID'
accToken = '容联云通讯分配的主账号TOKEN'
appId = '容联云通讯分配的应用ID'
def send_message():
sdk = SmsSDK(accId, accToken, appId)
tid = '容联云通讯创建的模板'
mobile = '手机号1,手机号2'
datas = ('变量1', '变量2')
resp = sdk.sendMessage(tid, mobile, datas)
print(resp)
发布说明
v1.0
发布日期: 2020-06-29
功能说明:
- 提供发送模板短信功能。
目录结构
python-sms-sdk │ readme.md | requirements.txt ├─example │ SendMessage.py -- 发送短信示例 │ ├─ronglian_sms_sdk │ │ algorithm.py -- SDK依赖算法 │ │ SmsSDK.py -- 短信SDK │ │ __init__.py
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
ronglian_sms_sdk-1.0.tar.gz
(3.6 kB
view hashes)
Built Distributions
Close
Hashes for ronglian_sms_sdk-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6e838808361b52c0089f7d47d6a7c610ed4c7a27759b795b9c20c91ae43627 |
|
MD5 | 83c4769996f2dba31356d43255bfa4e1 |
|
BLAKE2b-256 | 744a8f3e228db0133c42deac01bd5deb7865c47325401bade4c63f43da826b9f |
Close
Hashes for ronglian_sms_sdk-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4413896d32f82cca1cdd59bdc94ad451e79590ae26b31922eff96bbf21863ad |
|
MD5 | 738d4f26532b1e78f0e83a173a9679fb |
|
BLAKE2b-256 | 86daf399adccbaab646734b7fb84d09429b78d9293d6e19d70de86f7a38c2ade |