Recipe - Food - Nutrition

ÜCRETSİZ PREMIUM
Verified
Taraf David | Güncelleyen 한 달 전 | Food
Popülerlik

9.9 / 10

Gecikme

1,485ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

Duplicate recipes in complex search and totalResults is wrong

Rapid account: Aaronmagri 91
aaronmagri91
7년 전

Hi,

Please try
https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/recipes/searchComplex?addRecipeInformation=false&limitLicense=false&query=&ranking=1&instructionsRequired=true&intolerances=shellfish&type=bread&minCalories=590&maxCalories=1040&minCarbs=0&maxCarbs=51&minFat=15&maxFat=56&minProtein=22&maxProtein=53&number=10&offset=0&random=false

The result I am getting have few duplicate recipes. They have different IDs but have the same title and nutrition. Also, the number of recipes returned by the API call is different than the totalResults.

Can you please check and let me know why are this inconsistency happens?

Rapid account: Spoonacular
spoonacular Commented 7년 전

Our deduplicater must not have caught those, I fixed that and they should be gone within 24h.

The totalResults number is about the possible results withouth the requirement for required instructions. I see that this is confusing but for performance reasons we can’t compute this more exactly I’m afraid.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun