Recipe - Food - Nutrition

FREEMIUM
Verified
By David | Updated 13 days ago | Food
Popularity

9.9 / 10

Latency

488ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Spoonacular - get recipes by ID

Rapid account: Jonhewines
jonhewines
7 years ago

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 years ago

That’s awesome, thanks for the quick response!

Rapid account: Jonhewines
jonhewines Commented 7 years ago

Sorry, I accidentally closed the ticket

Rapid account: Jonhewines
jonhewines Commented 7 years ago

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 years ago

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 years ago

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

Join in the discussion - add comment below:

Login / Signup to post new comments