This project provides you with meals that are suitable for a particular weather and provides you the ingredients (with price) for the same.
- Built using Python, Flask, HTML and CSS
- Contacts weather API to get weather results for zip code entered.
- Uses the weather conditions to decide on a list of suitable dishes.
- Contacts Spoonacular API to get the recipe for the dishes.
- Takes the ingredients in the recipe and contacts Walmart API (unofficial) to get price of ingredients
- Displays recipes for an entire week, their ingredients, each ingredient's price and picture.
Run the python file weather_api.py
if using windows follow these instructions:
open command window (cmd)
change the directory to the weatherAPI folder.
type the following
(if flask is not installed)
pip install flask
set FLASK_APP=weather_api.py
set FLASK_ENV=development
flask run
if mac os or linux:
export FLASK_APP=weather_api.py
flask run
After running the above commands, open a browser and type: http://127.0.0.1:5000/
Type the zipcode (US ONLY) and wait for the results.