heildampf / Chefkoch-API

A small API for pulling ingredients data from Chefkoch.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chefkoch-API

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.

Example/How to use

#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)

if you are associated with chefkoch.de and want me to take this down, please message me :)

About

A small API for pulling ingredients data from Chefkoch.de


Languages

Language:Python 93.1%Language:Dockerfile 6.9%