Recipe - Food - Nutrition

FREEMIUM
Verified
Durch David | Aktualisiert לפני 25 ימים | Food
Popularität

9.9 / 10

Latenz

1,479ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Spoonacular - get recipes by ID

Rapid account: Jonhewines
jonhewines
לפני 7 שנים

Hi

Would it be possible to get a list of recipes from a supplied list of recipe IDs? In my app I’d like users to be able to add favorite recipes, and then view their favorites. This could either be a new endpoint, or add ID as a query parameter on the Search Recipes service.

Thanks!

Jon

Rapid account: Jonhewines
jonhewines Commented לפני 7 שנים

That’s awesome, thanks for the quick response!

Rapid account: Jonhewines
jonhewines Commented לפני 7 שנים

Sorry, I accidentally closed the ticket

Rapid account: Jonhewines
jonhewines Commented לפני 7 שנים

Hi

Thanks dmkcn6 for the feedback. You’re right, but I wonder if that could get expensive if a user has lots of favourites (both in terms of cost and Performance)

Spoonacular, that is exactly what I mean - would it be possible to update one of the end points or add a new one?

Much appreciated!

Jon

Rapid account: Dmlcn 6
dmlcn6 Commented לפני 7 שנים

Hi John,

I have a similar functionality in my application and to accomplish favorites list I have to make multiple calls to the above mentioned endpoint with each id of the recipe. Hope this helps!

Rapid account: Spoonacular
spoonacular Commented לפני 7 שנים

So you mean kind of like a bulk get recipe information (https://market.mashape.com/spoonacular/recipe-food-nutrition#get-recipe-information) endpoint?

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen