Sending SMS from python via your phone
Sending SMS using twilio.com is nice, but it also costs money. If you want something free that you can use for your hobby projects, check out pushbullet.com. If you sign up (it’s free), you can push SMS with the following:
- Sign up at pushbullet.com
- Get the app
- Install pushbullet with pip:
pip install pushbullet.py
- Find your API key here
- Run the code below (replace key)
from pushbullet import Pushbullet
key = 'MyLongAndSillyCoolAPIKey'
pb = Pushbullet(key)
# Depending on your devices, might be device[1] or similar.
phone = pb.devices[0]
pb.push(phone, "+4712345678", "Test message")
Previous postAdd S3 bucket using awscli (example)
Next PostProfiling in Chrome Developer Tools