{"products": [{"name": "ANCHOVY","displayName": "Acciuga","imageUrl": "https://whisk-res.cloudinary.com/image/upload/v1550764890/graph/fooddb/cdd6c37ccd140664a46573d10e2fde25.jpg","metadata": {"category": "MEATS AND SEAFOOD","storing": {"pantry": {"metric": "Years","min": 1,"max": 1},"defaultLocation": "Pantry"}},"nounForm": "singular"}]}
This parameter determines the language and locale of the autocomplete list. For example, en-us
.
Language Code | Locale Code | Default Locale |
|
|
|
|
|
|
|
| - |
|
| - |
|
| - |
|
| - |
| - | - |
| - | - |
| - | - |
For English, the tag could be:
Tag | Description |
| US product names in English. |
| GB product names in English. |
| Defaults to |
This parameter allows you to control the amount of data you will be getting in the product list. The available options are:
Option | Description |
| Complete data (all items with full content). |
| All items are returned but they do not include metadata information. |
| Only food items with metadata are returned. Check the sample response below for more information. |
| Only food items are returned but they do not include metadata. |
curl "https://cdn.whisk.com/autocomplete/v1/it/all.json" \-H "Accept-Encoding: deflate, gzip" \-H "If-Modified-Since: Wed, 04 Mar 2020 10:30:58"
{"products": [{"name": "ANCHOVY","displayName": "Acciuga","imageUrl": "https://whisk-res.cloudinary.com/image/upload/v1550764890/graph/fooddb/cdd6c37ccd140664a46573d10e2fde25.jpg","metadata": {"category": "MEATS AND SEAFOOD","storing": {"pantry": {"metric": "Years","min": 1,"max": 1},"defaultLocation": "Pantry"}},"nounForm": "singular"}]}
Attribute | Type | Description |
| string | The canonical name of the product, identical for all languages. |
| string | The name of the product in the selected language. |
| string | The link to the product’s image. |
| string | Indicates if the product name is |
| array | See the description below. |
Attribute | Type | Description |
| string | The product’s category. |
| string | The product’s storing recommendation. |