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:
|
|
limit_diets_per_portion
array |
For calculated diets only. Determination of when a recipe is considered low-calorie, for example. If not specified, the standards of Cookbutler are used.
Multi-dimensional array, sample: JSON: "limit_diets_per_portion":{"low-calorie": "lte-400"} The value consists of 2 parts, which are separated by a minus sign. The left part indicates the direction. Possible options are: lte = lower than equal lt = lower than gt = greather than gte = greather than equal The sample means: low-calorie has to be lower than or equal 400 for true, all other is false. Allowed diets:
|
Ein Beispiel für die Erstellung eines JWT Tokens findest du hier: https://developer.cookbutler.com#jwt-token-sample