sms16
sms16.ru service.
The library implements sending SMS messages viaInstallation
$ 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"]))