The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::GialloZafferano - Perl interface to GialloZafferano.it website to find cooking recipes

SYNOPSIS

  my $Cook = WebService::GialloZafferano->new();
  my @recipes = $Cook->search("Spaghetti"); # It returns a list of WebService::GialloZafferano::Recipe 
  my $spaghetti_recipe= $recipes[0]->text; #i wanna knew more about that recipe
  my @Ingredients = $recipes[0]->ingredients(); # i'm not happy, wanna know the ingredients of the next one 
  # @Ingredients is a list of WebService::GialloZafferano::Ingredient

DESCRIPTION

WebService::GialloZafferano is a Perl interface to the site GialloZafferano.it, it allows to query the cooking recipes and get the ingredients

METHODS

Takes input terms and process the GialloZafferano.it research. It returns a list of WebService::GialloZafferano::Recipe.

returns undef on error

ATTRIBUTES

ua

Returns the Mojo::UserAgent instance

AUTHOR

mudler <mudler@dark-lab.net>

COPYRIGHT

Copyright 2014- mudler

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

WebService::GialloZafferano::Recipe, WebService::GialloZafferano::Ingredient