__ __ __ __ __ __
/ \ / | / | _ / | / | / |
$$ \ /$$ | __ __ $$ | / \ $$ | ______ ______ _$$ |_ $$ |____ ______ ______
$$$ \ /$$$ |/ | / |$$ |/$ \$$ | / \ / \ / $$ | $$ \ / \ / \
$$$$ /$$$$ |$$ | $$ |$$ /$$$ $$ |/$$$$$$ | $$$$$$ |$$$$$$/ $$$$$$$ |/$$$$$$ |/$$$$$$ |
$$ $$ $$/$$ |$$ | $$ |$$ $$/$$ $$ |$$ $$ | / $$ | $$ | __ $$ | $$ |$$ $$ |$$ | $$/
$$ |$$$/ $$ |$$ \__$$ |$$$$/ $$$$ |$$$$$$$$/ /$$$$$$$ | $$ |/ |$$ | $$ |$$$$$$$$/ $$ |
$$ | $/ $$ |$$ $$ |$$$/ $$$ |$$ |$$ $$ | $$ $$/ $$ | $$ |$$ |$$ |
$$/ $$/ $$$$$$$ |$$/ $$/ $$$$$$$/ $$$$$$$/ $$$$/ $$/ $$/ $$$$$$$/ $$/
/ \__$$ |
$$ $$/
$$$$$$/ ~ Website : https://gardunos.tech
MyWeather is a python script that uses the AccuWeather API to retrieve weather data given a specific zip code.
Features:
- Collected data is written to an Excel file
- Forward daily data to personal phone number using Twilio (see below)
- Python (>= 3.5)
- Have the following python modules installed: xlrd, lxml, pandas, urllib3, requests, openpyxl, xlsxwriter
- If you don't have them installed the script will install them for you!
- AccuWeather Developer account (easy)
- Visit the AccuWeather Developer portal, & enter necessary information.
- Activate your profile using the confirmation link sent to the email address you provided.
- Visit the 'My Apps' tab & click on '+ Add a new App'
- Give the app a name, and under 'What will you be creating with this API?' select 'Weather App'. Then click 'Create App'
- Now click the newly created App to reveal the API Key
1.) Deploy! - Paste this in your terminal 'python MyWeather.py'
2.) Insert your AccuWeather API Key when prompted to
- Have the twilio python modules installed
- If you don't have twilio installed the script will install it for you
- Valid (personal/work) phone number
- Twilio account + Twilio phone number (see instructions below).
- Skip to step #4 of instructions if you already have both of these.
1.) Sign up or log in to Twilio.
2.) After account has been confirmed via email, visit your console to find your API crendentials (under project info
).
3.) Obtain a phone number via Twilio (2 methods):
- Method 1: Trial
- Method 2: Purchase
4.) Deploy! - Paste this in your terminal 'python MyWeather.py'
5.) Insert your AccuWeather API key + Twilio crendentials + Phone Numbers when prompted to