Recipe - Food - Nutrition

FREEMIUM
Verified
(Ким) David | Оновлено 25 days ago | 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 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!

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення