Skip to content

FHantke/KptnToTandoor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Tandoor KptnCook Importer

This script imports recipes from the great app KptnCook to the Tandoor cookbook. The script is based on my previous research of the KptnCook application.

How to use

Usage: main.py [OPTIONS] HOST API_KEY SRC

  Request a recipe (<SRC>) from KptnCook and import it into the Tandoor
  cookbook on <HOST> using the Tandoor <API_KEY>. <SRC> can either be the
  recipe id or the shared recipe url.

Options:
  --language [de|en]         choose the language
  --units [metric|imperial]  choose the untis
  --with_time BOOLEAN        import time into recipes
  --help                     Show this message and exit.

Either the KptnCook recipe sharing URL can be used to parse a recipe:

    python main.py https://my-tandoor-server.de/ TANDOOR_API_KEY https://sharing.kptncook.com/IJ7UqFSDCnb

Or the recipe id can be used. This can be found when searching for the recipes online (last part of the url): https://mobile.kptncook.com/recipe/pinterest/kurbisragout-pasta-mit-getrockneten-tomaten/1cbb478

    python main.py https://my-tandoor-server.de/ TANDOOR_API_KEY 1cbb478

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages