recipe_extractor 1.0.4 copy "recipe_extractor: ^1.0.4" to clipboard
recipe_extractor: ^1.0.4 copied to clipboard

Retrieve recipe name, ingredients and instructions from a recipe URL.

example/recipe_extractor_example.dart

import 'package:recipe_extractor/recipe_extractor.dart';

void main() async {
  const String recipeUrl =
      "https://www.allrecipes.com/recipe/218792/ggs-chocolate-sheet-cake";

  RecipeData recipeData = await extractRecipe(recipeUrl);

  print(recipeData.name);
  print(recipeData.ingredients);
  print(recipeData.instructions);
}
1
likes
140
pub points
39%
popularity

Publisher

unverified uploader

Retrieve recipe name, ingredients and instructions from a recipe URL.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

html, http, web

More

Packages that depend on recipe_extractor