NAME
WebService::Yelp::Neighborhood - Yelp.com API Review 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 $r (@{$b->reviews()}) {
print $b->name . " is rated " . $r->rating . " by user "
$r->user_name . "\n";
}
}
DESCRIPTION
This class represents a single review of a business on Yelp.
METHODS (Read Only)
id
This review's id.
rating
The numeric rating for this review.
rating_img_url
The URL of the stars for this rating. (84x17 pixels)
rating_img_url_small
The URL of the stars for this rating (only smaller). (50x10 pixels)
url
The url of this review.
text_excerpt
A text excerpt of the review.
user_name
The user name of the reviewer.
user_url
The user's profile URL.
user_photo_url
The user's photo URL. (100x100 pixels)
user_photo_url_small
The user's small photo URL. (40x40 pixels)