Recipe - Food - Nutrition

부분 유료
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!

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입