Recipe - Food - Nutrition

FREEMIUM
Verified
By David | Updated 13 days ago | Food
Popularity

9.9 / 10

Latency

488ms

Service Level

100%

Health Check

N/A

Back to All Discussions

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

Rapid account: Gaianilu
gaianilu
8 years ago

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 years ago

Fixed, thanks for reporting that!

Join in the discussion - add comment below:

Login / Signup to post new comments