Recipe - Food - Nutrition

免费增值
Verified
通过 David | 已更新 25日前 | Food
人气

9.9 / 10

延迟

1,479ms

服务等级

100%

Health Check

N/A

返回所有讨论

Number of returned recipes is not the total of them but it stops to 10 in Complex Recipe Search

Rapid account: Gaianilu
gaianilu
8年前

https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/recipes/searchComplex?addRecipeInformation=false&limitLicense=false&maxCalories=1500&maxCarbs=100&maxFat=100&maxProtein=100&minCalories=150&minCarbs=5&minFat=5&minProtein=5&number=99&offset=0&query=recipe&ranking=1

In a request like this, even if I set the number to 99 the returned recipes are a different number (usually 9 to 10). The problem is that calling the function different times, it returns different recipes, so I know that it doesn’t return a limited number because they are all the recipes returned for the parameters. If I manually count them they are more than the 9 or 10 returned in a single call.
It is like it completely ignores the number=99 parameter.

Rapid account: Spoonacular
spoonacular Commented 8年前

Fixed, thanks for reporting that!

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论