Portal
SandboxAPI v1Not signed inExternal user: —

Recipe import

Problem: Import a recipe from a public URL. PythonTypeScript imported = client.recipes.import_url("https://www.example.com/bolognese")…

Problem: Import a recipe from a public URL.

imported = client.recipes.import_url("https://www.example.com/bolognese")
print(imported.recipe.title, len(imported.recipe.ingredient_lines))
const imported = await client.recipes.importUrl(
  "https://www.example.com/bolognese",
);
console.log(imported.recipe.title);

Notes: URL must be reachable by the API importer. See ImportUrlResponse for parse warnings.