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
- Host: GitHub
- URL: https://github.com/mudler/webservice-giallozafferano
- Owner: mudler
- License: other
- Created: 2014-04-03T21:53:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-04T07:22:47.000Z (over 12 years ago)
- Last Synced: 2025-02-02T07:43:30.360Z (over 1 year ago)
- Language: Perl
- Size: 148 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
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)