Recipe - Food - Nutrition

FREEMIUM
Verified
От David | Обновлено 20 days ago | Food
Популярность

9.9 / 10

Задержка

504ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии