Recipe - Food - Nutrition

フリーミアム
Verified
よって David | 更新済み 25 days ago | Food
人気

9.9 / 10

レイテンシー

1,479ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

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?

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿