NAME
WebService::Yummly - Simple interface to the search and recipe interface to Yummly
SYNOPSIS
use WebService::Yummly;
# use your ID/key here
my $APP_ID = "2f6cfcff";
my $APP_KEY = "a3cec319936cdf2fb03f4b0f5dfdaf4e";
my $y = WebService::Yummly->new($APP_ID, $APP_KEY);
my $recipes = $y->search("lamb shank");
my $r = WebService::Yummly->new($APP_ID, $APP_KEY, "Sunday-Supper_-Curried-Lamb-Shanks-Serious-Eats-42000");
ok($r,"new yummly");
my $recipe = $r->get_recipe ;
DESCRIPTION
Search and retrieve recipe from Yummly
FUNCTIONS
new
my $y = WebService::Yummly->new($APP_ID, $APP_KEY);
Create a new Yummly object passing in credentials.
search
$recipes = $y->search("lamb shank") ;
Return a JSON structure containing matching recipes.
get_recipe
my $r = WebService::Yummly->new($APP_ID, $APP_KEY, "Sunday-Supper_-Curried-Lamb-Shanks-Serious-Eats-42000");
my $recipe = $r->get_recipe ;
Return a JSON data structure with recipe information.
DIAGNOSTICS
SUPPORT
BUGS
Please report any bugs by email to bug-webservice-yummly at rt.cpan.org
, or through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=WebService-Yummly. You will be automatically notified of any progress on the request by the system.
SOURCE CODE
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/davehodg/Webservice-Yummly/
git clone https://github.com/davehodg/Webservice-Yummly
AUTHOR
Dave Hodgkinson davehodg@cpan.org
COPYRIGHT
Copyright 2014 by Dave Hodgkinson
This library is under the Artistic License.