Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

send sms with sms.ru service.

Project description

Default API ID are read from the files:
Linux: $HOME/.smssendrc
Windows: %USERPROFILE%/.smssendrc

Example usage:

from pysmsru import SMSRU
smsru = SMSRU(
api_id='youapiid' - or set in .smssendrc
debug=True|None - Print debug messages
sendername='sender name' - Sender name (optional)
time=10 - Send time in UNIX TIME format (optional)
translit=True|None|False - Convert message to translit
http_timeout=10|None - Timeout for http connection (optional, default is 10)
)
smsru.send_one(phone_to='79121234567', message='Hello World!')
smsru.send_scope(phones_to=['79120123456', '79120012345'], message='Hello World!')

Project details


Release history Release notifications

This version
History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pysmsru-0.1.7.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Feb 12, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page