Skip to main content

RongLian SMS SDK

Project description

发布说明

v1.0

发布日期: 2020-06-29

功能说明:

  • 通过SDK方式提供发送模板短信功能。

示例


from sdk.SmsSDK 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)


目录结构

SmsSDK
│ readme.md
├─demo
│      SmsDemo.py
│
├─sdk
│  │  algorithm.py
│  │  SmsSDK.py
│  │  __init__.py

https://www.yuntongxun.com

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

ronglian-sdk-0.8.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ronglian_sdk-0.8-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file ronglian-sdk-0.8.tar.gz.

File metadata

  • Download URL: ronglian-sdk-0.8.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for ronglian-sdk-0.8.tar.gz
Algorithm Hash digest
SHA256 f2db47ef54d68484ffa5804c5b4fd8ec10e66b1cace3fa2389963fdcf8ee1ff1
MD5 ef0fbe20567fdca6b0a000b4fdfa9d5a
BLAKE2b-256 b47ed2ad19402851a491719de3f20fc7cc89d0ab687827b1e908976e81e5567c

See more details on using hashes here.

File details

Details for the file ronglian_sdk-0.8-py3-none-any.whl.

File metadata

  • Download URL: ronglian_sdk-0.8-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for ronglian_sdk-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7646bfe76e833ef01f735aa66dedd238f31b10ce0cff6592dfa7ea9ae255bd83
MD5 06deef5ab9ee4e6cda572786f3e4bdd5
BLAKE2b-256 a45abd6fec4b34fa624f652bf8baaa523b2376e8e003262aca69bf1320bc49a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page