Params | Default | Description |
---|---|---|
q
string |
The keywords you like to search for.
|
|
language
string |
de-de |
Language parameter like "de-de"
You can determine the allowed languages using the method get-languages. |
searchtype
string |
or |
To change the search behavior.
OR: Recipes must contain only one of the words. AND: Recipes must contain all words. EXTENDED: Graduated search, for example: potato tuna || rice soup Search for (potato AND tuna) OR (rice AND soup) The double character || is the OR separator. Allowed Values:
|
offset
int |
||
limit
int |
10 |
Allowed values are between 1 and 100
|
add_info
array |
To return a list of extra information for each returned item.
Allowed Values:
|
|
filters
array |
For a more detailed search. To get all search filters, use the searchfilter API method. How to use searchfilters:
Depending on the search filter type, we expect a string or an array. allergen Type: Checkbox Array Example: {"filters":{"allergen":["fish"]}} category Type: Checkbox Array Example: {"filters":{"category":["cake"]}} country Type: Checkbox Array Example: {"filters":{"country":["it"]}} course Type: Checkbox Array Example: {"filters":{"course":["dessert"]}} diet Type: Checkbox Array Example: {"filters":{"diet":["vegan"]}} difficulty Type: Checkbox Array Example: {"filters":{"difficulty":["easy"]}} max_time Type: Input String / Integer Example: {"filters":{"max_time":50}} |
Ein Beispiel für die Erstellung eines JWT Tokens findest du hier: https://developer.cookbutler.com#jwt-token-sample