Tasty

FREEMIUM
By Api Dojo | Updated 14 days ago | Food
Popularity

9.7 / 10

Latency

2,406ms

Service Level

100%

Health Check

N/A

Back to All Discussions

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

Join in the discussion - add comment below:

Login / Signup to post new comments