Skip to main content

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

Project description

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"]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sms16, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size sms16-0.7.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page