A simple application that fetches the current temperature in the location specified and notifies the user when the temperature in that location goes outside the range specified by the user.
- Create a free account on weatherapi.com and create an API key.
- Copy the
.env.example
to.env
and paste your API key from weatherapi.com. - Install the required dependencies using
poetry install
. - Run the program using
poetry run python main.py
and follow on screen instructions!
poetry
and there are some breaking changes in how poetry stores its config files so older versions might not work. So, please use the latest version.
Currently, there is only the console notifier which prints to the console from which the program is running but this can be extended to many other things such as sending an email, a push notification or even a text message. The options are limitless!