alisms

A SDK for Aliyun SMS services in Python3


Keywords
Aliyun, SMS, SDK
License
MIT
Install
pip install alisms==1.1.0

Documentation

Python SDK for Aliyun SMS Services

PyPI CocoaPods PyPI

Installation

The alisms package is available on pypi, so use

pip install alisms

to install it.

Document

Please refer to document to read the full docs.

Tutorial

Here is a quick example of sending SMS messages for a phone user:

import alisms

client = alisms.AliyunSMS(access_key_id='testId', access_key_secret='testSecret', region_id='cn-hangzhou')
template_params = {
    'code': '123456',
}
client.send_sms(phone_numbers='13000000000', sign_name='阿里云', template_code='SMS_10000000', template_params=template_params)