This script was made so that you could get daily weather reports via sms. Features have been added to run the script at will.
- Accuweather API
- https://developer.accuweather.com
- Accuweather offers a free API for up to 50 remote calls a day
- You will need to register an App, and use the API key given.
- Twilio SMS API
- https://www.twilio.com/docs/sms/api
- Twilio offers an SMS API for next to nothing in cost.
- You will need to register an app, and use the SID, API key, and a textable number assigned by twilio.
- The .env file
- Before running the .env file needs completed.
- You will need to obtain the API keys and SID from the above requirements first.
- The .env file MUST be in the same directory as the .py file.
- Python Requests Libary
- Python Twilio helper Library
- dotenv
- argparse
- os.path
- The script can be ran on a scheduled task using the '--skipinput' runtime argument.
- If using the --skipinput arguement, then you need to make sure all the values in the .env file are populated.
- The default run will check for Current tempurature and the daily forecast for the day called.
- The script can be ran on demand, answering runtime inputs or using the --skipinput arguement.