Tasty

부분 유료
Verified
분류별 Api Dojo | 업데이트됨 24 days ago | Food
인기

9.7 / 10

지연 시간

2,240ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

id confusion

Rapid account: Renijshrestha 8
renijshrestha8
a year ago

From recipes/list, I get recipe name: “Recipes For a Big Gathering!” with id: 3477. But, when I do recipes/get-more-info with id:3477, I get “Fresh Ricotta”. Is this an error or am I searching it wrong?

Rapid account: Apidojo
apidojo Commented a year ago

Hello,

You should re-check whether or not the returned item is “compilation” (compilation introduces several other recipes) or actual “recipe” by checking “canonical_id” field.
Ex : “canonical_id”: “compilation:346” OR “canonical_id”: "recipe:4179"
In general, compilation id is different from recipe id.

https://tasty.co/compilation/big-gathering-recipes
https://tasty.co/recipe/teriyaki-chicken-fried-rice-dome

Regards

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

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