YesssSMS let's you send SMS via yesss.at's website.
YesssSMS let's you send SMS via yesss.at's website. Regular rates apply and a contract or prepaid plan is needed.
Alternatively you can use MVNOs (Mobile Virtual Network Operators) that use the kontomanager.at web interface. These include:
Use your website login and password.
use the --mvno
flag to set your provider, or define it in the config file.
This module is not suitable for batch SMS sending. Each send() call logs in and out of your provider's website.
Currently the library supports Python 3.5+, and is tested against Python 3.5 to 3.8.
> pip3 install YesssSMS
>>> from YesssSMS import YesssSMS
>>> sms = YesssSMS(YOUR_LOGIN, YOUR_PASSWORD)
>>> sms.send(TO_NUMBER, "Message")
>>> # or with a different MVNO:
>>> sms = YesssSMS(YOUR_LOGIN, YOUR_PASSWORD, provider="goood")
>>> sms.send(TO_NUMBER, "Message")
> yessssms --print-config-file > ~/.config/yessssms.conf
# edit the config file, set a login, password, default recipient, and MVNO
> vi ~/.config/yessssms.conf
> yessssms --test # test your setup, send yourself a message
> yessssms -t 0664123123123 -m "sending SMS from the command line :)"
> # if a default recipient is defined, you can omit the -t flag
> # the message can be piped into yessssms (it will be cut to max 3 SMS, 3*160 chars)
> echo "important message!" | yessssms -m -
> # MVNO
> yessssms --to 06501234567 --mvno educom -m "sending SMS using a MVNO"