Recipe - Food - Nutrition

FREEMIUM
Par David | Mise à jour 25 days ago | Food
Popularité

9.9 / 10

Latence

1,479ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les 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!

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires