List Analysis
This endpoint allows you to perform analysis on Shopping List or any generic set of items
Analyze List
POST https://graph.whisk.com/v1/lists/analyze
Request Body
Name
Type
Description
items
array
Text of items to analyze. Example: ["1 tbsp olive oil", "2 large tomatoes"]
{
"analyzedItems": [
{
"sourceText": "200g pack smoked salmon",
"normalized": "200 g smoked salmon",
"analysis": {
"product": "smoked salmon",
"quantity": 200,
"unit": "g",
"category": "MEATS AND SEAFOOD"
}
},
...
{
"sourceText": "1 tbsp salt and olive oil to serve",
"normalized": "olive oil",
"analysis": {
"product": "olive oil",
"category": "CONDIMENTS"
}
}
]
}This endpoint allows you to perform analysis on Shopping List or any generic set of items
Sample Request
Sample Response
Last updated
Was this helpful?