An open API service indexing awesome lists of open source software.

https://github.com/mudler/webservice-giallozafferano

Perl interface to GialloZafferano.it website to find cooking recipes
https://github.com/mudler/webservice-giallozafferano

Last synced: over 1 year ago
JSON representation

Perl interface to GialloZafferano.it website to find cooking recipes

Awesome Lists containing this project

README

          

# 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

- search

Takes input terms and process the GialloZafferano.it research.
It returns a list of [WebService::GialloZafferano::Recipe](https://metacpan.org/pod/WebService::GialloZafferano::Recipe).

returns undef on error

# ATTRIBUTES

- ua

Returns the [Mojo::UserAgent](https://metacpan.org/pod/Mojo::UserAgent) instance

# AUTHOR

mudler

# 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](https://metacpan.org/pod/WebService::GialloZafferano::Recipe), [WebService::GialloZafferano::Ingredient](https://metacpan.org/pod/WebService::GialloZafferano::Ingredient)