The repo contains the back-end code for our project submitted to the DeltaHacks 8 Hackathon, our Devpost submission can be found here.
This project was entered in for the health and the sustainability categories of the competition respectively, receiving high praise in both.
This python program uses the Spoonacular API to search up recipes based on any number of ingredients inputted by the user. The user must input each ingredient separated by , so that it may look something like this:
Onion, Carrot, Tomato
The API is called twice, once inputting the user inputted ingredients to search for recipes and again inputting the recipes that were found in the first search to return a link to the recipe and information about any additional ingredients needed.
The Spoonacular API returns http requests in json, the program uses the json package in python to process the APIs outputs and prints the desired results in the end.
This project may recieve updates in the future, but as of now it is no longer being updated.