Params | Default | Description |
---|---|---|
id
Required integer |
recipe id
|
|
language
string |
de-de |
Language parameter like "de-de"
You can determine the allowed languages using the method get-languages. |
fields
array |
To return extra information.
Allowed Values:
|
|
scaled_portions
array |
To calculate recipe and portion values to a limit of an substance value. This option required a special contract with us. For more information contact us.
Multi-dimensional array, sample: energy kcal => 400 JSON: "scaled_portions":{"energy kcal": 400} Allowed substances:
|
|
show_ingredients_in_base_unit
boolean|string |
If activated, the ingredients are additionally returned in the basic units ml and g.
Sample: 1 tsp Sugar {"quantity1": 1,"unit_short": "tsp","product": "Sugar","based_unit": {"quantity1": 6,"quantity2": "","unit": "g"}} JSON: {"show_ingredients_in_base_unit": true} This option required a special contract with us. For more information contact us. |
Ein Beispiel für die Erstellung eines JWT Tokens findest du hier: https://developer.cookbutler.com#jwt-token-sample