sms16

The library implements sending SMS messages via sms16.ru service.


Keywords
sms, sms16, ru
License
Apache-2.0
Install
pip install sms16==0.7

Documentation

sms16

The library implements sending SMS messages via sms16.ru service.

Installation

$ pip install sms16

Settings

Add the following environment variables:

SMS16_API_KEY - Your API key

SMS16_LOGIN - Your Login

SMS16_SENDER_NAME - Approved sender name

Using

from sms16.sms import Sms 

sms = Sms()
print(sms.balance())
print(sms.send(phone="PHONE NUMBER", text="MESSAGE TEXT"))
print(sms.status(ids=["5650905190972394390001", "5650905190972394390002"]))