Recipe - Food - Nutrition

부분 유료
Verified
분류별 David | 업데이트됨 hace 20 días | Food
인기

9.9 / 10

지연 시간

504ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Get Recipe after complex query

Rapid account: Mretfaster
mretfaster
hace 7 años

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 hace 7 años

Hi Eric,

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

Best,
David

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입