Skip to content

Fizzyhub/WeatherNotifySMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

WeatherNotify v1.0

Uses Accuweather free API, and Twilio SMS API to go retrieve weather details and send them to user.

This script was made so that you could get daily weather reports via sms. Features have been added to run the script at will.

Script Requirements

  • Accuweather API
  • 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.

Required Libaries

Script Uses

  • 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.

About

Uses Accuweather API and twilio SMS API to notify someone of the daily weather.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published