Read one recipe
get_recipeRetrieve a French recipe from Supertoinette by its numeric ID, returning ingredients, steps, times, difficulty, and cost. Optionally rescale quantities for a chosen number of servings.
Instructions
Read one recipe on Supertoinette by its identifier, which is the number in its address: 4210 in /recette/4210/veloute-de-gaverole.html. Returns the ingredients, the steps, the times, the difficulty and the cost the site publishes. A time the site does not publish comes back as null rather than as zero. Pass 'servings' to rescale the quantities: each line then says whether the arithmetic landed exactly, or had to move to stay an amount a kitchen can measure out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The number in the recipe's address, such as '4210'. Search for a dish when you do not have one. | |
| servings | No | Rescale the quantities to this many. Left out, they come back as the site published them. It is refused when the site's own wording carries no number to scale from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| faq | Yes | ||
| url | Yes | The public page. Show this when citing the recipe. | |
| tags | Yes | ||
| intro | Yes | The prose the page prints above the steps. | |
| notes | Yes | ||
| steps | Yes | ||
| title | Yes | The title with the pictogram the site opens it with taken off. | |
| yield | Yes | How many the recipe was written for, and how many were asked for. | |
| author | Yes | ||
| images | Yes | ||
| rating | Yes | ||
| source | Yes | ||
| category | Yes | ||
| nutrition | Yes | Supertoinette publishes none. | |
| cost_level | Yes | The site's own wording, with the scale it draws the symbols on. | |
| difficulty | Yes | The site's own wording. It publishes no scale for this, so none is stated. | |
| description | Yes | ||
| ingredients | Yes | ||
| cook_minutes | Yes | Null when the site publishes no cooking time. | |
| prep_minutes | Yes | Null when the site publishes no preparation time. | |
| published_at | Yes | ||
| rest_minutes | Yes | Resting time, which the page prints as 'Pause'. | |
| total_minutes | Yes | ||
| ingredient_count | Yes | Lines rendered, headings included. | |
| ingredient_sheets | Yes | ||
| title_as_published | Yes | The title exactly as the site wrote it. |