Recipe - Food - Nutrition

फ्रीमियम
Verified
द्वारा David | अपडेट किया गया il y a 25 jours | Food
लोकप्रियता

9.9 / 10

लेटेंसी

1,479ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Spoonacular - get recipes by ID

Rapid account: Jonhewines
jonhewines
il y a 7 ans

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 il y a 7 ans

That’s awesome, thanks for the quick response!

Rapid account: Jonhewines
jonhewines Commented il y a 7 ans

Sorry, I accidentally closed the ticket

Rapid account: Jonhewines
jonhewines Commented il y a 7 ans

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 il y a 7 ans

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 il y a 7 ans

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

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें