Recipe - Food - Nutrition

फ्रीमियम
Verified
द्वारा David | अपडेट किया गया 1ヶ月前 | Food
लोकप्रियता

9.9 / 10

लेटेंसी

1,485ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Search by Ingredient "Annatto" Returns incorrect results

Rapid account: Kaitlynjoy
kaitlynjoy
8年前

I am using the Search By Ingredient PHP method to request recipes including the spice “annatto.” The request returns many recipes, but none of these recipes include annatto.

My request is as follows:
$response = Unirest\Request::get(“https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/recipes/findByIngredients?fillIngredients=false&ingredients=annatto&limitLicense=true&number=6&ranking=1

These recipes indicate that there is one matching ingredient from the search, but annatto is not found in any of these recipes. Is there an error in the API or am I doing something wrong?

Thank you!

Rapid account: Spoonacular
spoonacular Commented 8年前

Hi Kaitlyn,

“annatto” is a natural food coloring and many of the returned recipes use natural food coloring. I am going to investigate why this is so fuzzy in the case of “annatto” but you are not doing anything wrong.

Best,
David

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें