Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 956 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 956 Bytes

RaspiSMS-pyclient: Python client for RaspiSMS API

Small client for RaspiSMS server. It simply propose a trivial interface to send SMS from a python script or from command line.

See:

Licence : GNU LGPL (see LICENCE.txt)

Install

$ pip install git+https://github.com/enavarro222/RaspiSMS-pyclient.git

Python module usage

from raspisms import RaspiSMS
rsms = RaspiSMS("http://URL_TO/RaspiSMS", email="[email protected]", password="PASSWORD")
rsms.send("PHONENUMBER", "SMS text !")

Command-line tool

A command line tool raspisms-send is provided, you can use it this way:

$ raspisms-send -u http://URL_TO/RaspiSMS -e [email protected] -p ADMIN_PASSWORD  PHONENUMBER "SMS text"

See also -h for some help.

TODO

See #TODO in raspisms.py, don't hesitate to send a push request !