Foodpairing
Use-case request examples
Get suitable recipes by a canonical name of a product
curl -X POST "https://api.whisk.com/foodpairing/v2/get" \
-H "accept: application/json" \
-H "Authorization: Bearer %USER_TOKEN%" \
-H "Content-Type: application/json" \
-d "{ \"canonical_name\": \"RED WINE\" }"Get well-with products for a recipe
curl -X POST --location "https://api.whisk.com/foodpairing/v2/get/by_recipe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer %USER_TOKEN%" \
-d "{
\"recipe_id\": \"1010ea47e45b8a17393f4aac6346dc0bca01a3cd42c\",
\"products_only_from_foodlist\": false,
\"cursor\": {
\"limit\": 10
}
}"Last updated
Was this helpful?