Skip to content

lavr/python-smscru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-smscru

Python interface and cli for smsc.ru api

Installation:

python setup.py install

API usage:

from pysmscru import SMSC

smsc = SMSC(login=LOGIN, password=PASSWORD, sender=DEFAULT_SENDER)

result = smsc.send_sms(['79169999999',], "Hello, world!")

print result

CLI usage:

Copy smscru.conf.example to /etc/smscru.conf and set your login and password.

$ smscru msg 79169999999 "Hello, world\!" --config=/etc/smscru.conf 

Build Status

About

Python interface and cli for smsc.ru api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages