Recipe - Food - Nutrition

ÜCRETSİZ PREMIUM
Verified
Taraf David | Güncelleyen 20 дней назад | Food
Popülerlik

9.9 / 10

Gecikme

504ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

Get Recipe after complex query

Rapid account: Mretfaster
mretfaster
7 лет назад

Hello!
How do I get the actual recipe after a complex query?
My complex query return the object as your documentation suggest: something like
{
“results”: [
{
“id”: 98730,
“usedIngredientCount”: 3,
“missedIngredientCount”: 5,
“likes”: 0,
“title”: “Jalapeno Burger”,
“image”: “https://spoonacular.com/recipeImages/jalapeno-burger-2-98730.jpg”,
“imageType”: “jpg”,
“calories”: 481,
“protein”: “24g”,
“fat”: “26g”,
“carbs”: “39g”
},…(etc).

Can I then grab the recipe by the… id? or by some other way?

OR at least how can I get the url to the actual recipe in/through this result set?

The api suggests a returned recipe, but there is no (a) recipe or (b) url to the recipe webpage.

Thanks!
-Eric-

Rapid account: Spoonacular
spoonacular Commented 7 лет назад

Hi Eric,

just call the Get Recipe Information by id endpoint: https://market.mashape.com/spoonacular/recipe-food-nutrition#get-recipe-information

Best,
David

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun