Skip to content

olzeug/get-chefkoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-chefkoch

Downloads PyPI version GitHub Documentation Status pytest workflow

get-chefkoch is a simple, lightweight Python library that allows you to easily extract recipe data from Chefkoch.

Installation & Documentation

pip install get-chefkoch

Full Documentation can be found at Read the Docs.

Examples

Search for a recipe:

from get_chefkoch import Search

s = Search("Apfelstrudel")
recipe = s.recipes(limit=1)[0]

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

Get the Recipe of the Day:

from get_chefkoch import Search

recipe = Search().recipeOfTheDay()

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

Recipe Properties

The Recipe object provides easy access to the following properties:

Property Description
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 (datetime.timedelta)
totalTime Total Time (datetime.timedelta)
cookTime Cooking time (datetime.timedelta)

Note: Many more parameters are available via the Recipe().data_dump() method.

Features

  • ✨ Query the Recipe of the Day
  • 🔍 Search for specific recipes
  • 🥗 Query detailed information about recipes (cooking time, description, ingredients, etc.)
  • 🚀 Fast and lightweight

About

Get-chefkoch is a simple, lightweight Python library that allows you to easily extract recipe data from Chefkoch.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages