I’m under the impression that every time a search is called, there should be a new set of recipes that populate. But I seem to get the same set of (20) recipes. How do I get different recipes with refresh?
Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:
Thanks! But I’m looking at the dashboard under the suggested “complex recipe search” endpoint which I see on my dashboard as the “Recipe Complex Search” endpoint and there is no “sort” property.
When you search the same term on Google you get the same results every time. Same goes for the recipe search. You can, however, specify the random order which will give you a new random set with every request, see here for the sorting options: https://spoonacular.com/food-api/docs#Recipe-Sorting-Options - look for “random”.