NAME
WebService::Yelp::Category - Yelp.com API Category Class
SYNOPSIS
use strict; use WebService::Yelp;
my $yelp = WebService::Yelp->new({ywsid => 'XXXXXXXXXXXX'});
my $biz_res = $yelp->search_review_hood({
term => 'cream puffs',
location => 'San Francisco',
};
for my $b (@{$biz_res->businesses()}) {
for my $c (@{$b->categories()}) {
my $href = qq[<a href="] . $c->search_url . qq[">] .
$c->name . qq[<br>\n];
}
}
DESCRIPTION
A business has one or more categories associated with it. You can see Yelp's complete list at:
http://www.yelp.com/developers/documentation/category_list
METHODS (Read Only)
name
Category display name.
search_url
Category search URL for yelp.com for the current location.
category_filter
Category filter name.