Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 431 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 431 Bytes

Rain Alert

This python program helps by sending a text messages to your mobile phone whenever it's about to rain.

Usage

fill in the properties in the code as follows:

OWM_ENDPOINT = 'https://api.openweathermap.org/data/2.5/onecall' # or any endpoint of choice
API_KEY = 'YOUR API KEY'
MY_LAT = 'YOUR CURRENT LATITUDE'
MY_LONG = 'YOUR CURRENT LONGITUDE'
FROM_ = 'TWILLO PHONE NUMBER'
TO = 'YOUR PHONE NUMBER'