Recipe - Food - Nutrition

פרמיום
Verified
על ידי David | מְעוּדכָּן a month ago | Food
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

1,485ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Random order not working

Rapid account: Aaronmagri 91
aaronmagri91
7 years ago

Hi,

I am trying to get recipes based on following request.
https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/recipes/searchComplex?addRecipeInformation=false&limitLicense=false&query=chicken&ranking=1&instructionsRequired=true&minCalories=660&maxCalories=1040&minCarbs=38&maxCarbs=43&minFat=40&maxFat=46&minProtein=30&maxProtein=43&number=10&offset=0&random=true

I want random set of recipes in each request but it seems that random is not working for the request and I end up having the same recipes every time.

Please test it and let me know whats wrong.

Thanks.

Rapid account: Aaronmagri 91
aaronmagri91 Commented 7 years ago

Looks like I got it from https://market.mashape.com/spoonacular/recipe-food-nutrition#search-recipes-by-nutrients
Doest realize random won’t work with complex recipe search.
Consider this ticket closed.

Rapid account: Spoonacular
spoonacular Commented 7 years ago

Where do you get the parameter “random=true” from?

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות