Skip to content

praxpk/weather_meal_planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Meal Planner

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors