Skip to content

olzeug/get-chefkoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-chefkoch

Downloads PyPI version GitHub Documentation Status pytest workflow

Python library to interact with Chefkoch.

Installation & Documentation

pip install get-chefkoch

Documentation can be found at Read the Docs.

Examples:

from get_chefkoch import Recipe, Search

s = Search("Apfelstrudel")
recipe = s.recipes(limit=1)[0]
print(recipe.name)
print(recipe.description)
from get_chefkoch import Recipe, Search

recipe = Search().recipeOfTheDay()

print(recipe.name)
print(recipe.description)

Recipe-Class Parameters:

 name              Name of the recipe
 id                Unique identification of the recipe
 description       Description of the recipe
 image             Url of a beautiful picture of the recipe
 ingredients       Recipe ingredients
 category          Recipe category
 prepTime          Preparation time
 totalTime         Total Time
 cookTime          Cooking time
 
 Many more parameters are available after calling Recipe().data_dump()

Features:

  • Query the recipe of the day
  • Search for specific recipe
  • Querying information about a recipe(cooking time, description, ingredients, ...)
  • Use the automatic suggestions from Chefkoch