Python script to send notifications to a list of phone numbers if usgs reports a significant earthquake in Nepal.
Project Objective:
- To send and receive noifications when a significant earthquake hits Nepal.
- Needs to run near real time so had to use raspberry pi to conserve resources. Due to raspberry model complications, I had to update the code to only write to the db when there is unique data.
- Since USGS apis are updated every 5 minutes, this python script will run every 5 minutes on the cron.
Project Hardware:
- Raspberry Pi first generation (512MB RAM)
Used:
- Sqlite3 db.
- Python
- Twilio (for sms notification)
- Pushbullet Api (for in App notification)
Any updates and comments are welcome. Thank you.