Recipe - Food - Nutrition

פרמיום
Verified
על ידי David | מְעוּדכָּן 20 дней назад | Food
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

504ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות