Tasty

免费增值
Verified
通过 Api Dojo | 已更新 24日前 | Food
人气

9.7 / 10

延迟

2,240ms

服务等级

100%

Health Check

N/A

返回所有讨论

id confusion

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 1年前

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论