/naive-sms-webapi

This is a read-only mirror for https://git.recolic.net/root/naive-sms-webapi.git

Primary LanguagePython

naive sms HTTP API

A naive API server to remote-access your SMS without phone!

This is a very naive API server, to remote-access your SMS. Warning: it doesn't even support parallel requests. For personal use only.

requires

SIM800C USB to GSM module

python3

python usim800 module (please clone from github: https://github.com/Bhagyarsh/usim800 . pip release is too old)

pip install web.py

how to use

step 1 - test if your SIM800 module is working

Run python pullsms.py. If it prints your SMS correctly, you are good.

step 2 - start api server

Run python apiserver.py 8080 as daemon.

step 3 - enjoy

Try if your api server is working.

curl "http://localhost:8080/mO0c7JlqE1n5r/smsget"
curl "http://localhost:8080/mO0c7JlqE1n5r/smsdel"