recipe_extractor 2.0.0 recipe_extractor: ^2.0.0 copied to clipboard
Retrieve recipe name, ingredients and instructions from a recipe URL.
Retrieve recipe name, ingredients and instructions from a recipe URL.
Getting started #
With dart :
dart pub get recipe_extractor
With Flutter :
flutter pub get recipe_extractor
Import package :
import package:recipe_extractor/recipe_extractor.dart
Usage #
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);
Additional information #
Supported recipe sites :
- marmiton.org
- allrecipes.com
- swissmilk.ch
- bbcgoodfood.com
- simplyrecipes.com
More coming soon...