A small API for pulling recipe data from Chefkoch This project was made for machine learning researcers who'd need to craft a database of different dishes and their ingredients.
The recipe objects don't contain data on how to cook the recipe, since this project's only intend is to craft a database for analyzing ingredients.
#get all available dish categories
categories = ChefKochAPI.get_categories()
#parse all recipes (yields) from the first category
recipes = ChefKochAPI.parse_recipes(categories[0])
#write recipes to json file one at a time
DataParser.write_recipes_to_json(category.title, recipes)