Recipe - Food - Nutrition

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

9.9 / 10

Latency

488ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Get Recipe after complex query

Rapid account: Mretfaster
mretfaster
7 years ago

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

Hi Eric,

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

Best,
David

Join in the discussion - add comment below:

Login / Signup to post new comments