CFG Python & Apps course project | worked with @Ayjahm & Stephanie
Oct 2022: Project submission to CFG
Sep 2023: Code update after Edamam API Recipe Search V2 release
To run the project on your device:
- Clone the repo on your device
- Make sure you've Python & VSCode or PyCharm installed on your device
- Open the project root in VSCode/PyCharm, switch to virtual env, and ensure your
pipis working, if not runpython3 -m ensurepipin VSCode/PyCharm's terminal - Next, install requests by running the following:
python -m pip install requestsin VSCode/PyCharm's terminal - Visit Edamam API website, click button
Signup API, and create an account, open Applications Tab, create 2 new applications - one forNutrition Analysis API, one forRecipe Search APIpressViewnext to each one to check your credentials for each API, and place this data withinAppConfig.pyfile. If you're having trouble getting credentials, take a peek at the Edamam FAQ page - Visit RapidApi website, create an account, visit Spoonacular API tab, subscribe to this API to obtain
X-RapidAPI-Key, and place this data withinAppConfig.pyfile - Run in the VSCode/PyCharm's terminal:
python EdamamAPI_recipeSearch.pyorpython SpoonacularAPI_recipeSearch.pyto run the chosen file - Happy coding!




