Bing::Search::Result::Phonebook - Phonebook lookup result


Bing-Search documentation Contained in the Bing-Search distribution.

Index


Code Index:

NAME

Top

Bing::Search::Result::Phonebook - Phonebook lookup result

METHODS

Top

Business

The name of the business, if any.

Address

The street address of the business, excluding a city, state, or postal code.

UserRating

A rating from 1 to 10 provided by users.

BusinessUrl

A URI object representing the business' URL.

City

The city the business is located in.

CountryOrRegion

The country (or region) of the business.

DisplayUrl

A URI The modified-for-display representation of the business URL.

Latitude

The latitude of the business location.

Longitude

Astoundingly, the longitude of the business' location.

PhoneNumber

The business phone number.

PostalCode

Postal code. In the US, we call it a Zip code.

ReviewCount

The number of reviews this business has.

StateOrProvince

The state or provice where the business is located.

Title

The title of the listing, as presented in the White or Yellow pages.

UniqueId

A unique identifier, useful for providing to Bing::Search::Source::Phonebook's LocId method.

Url

A URI object representing a link to the business.

AUTHOR

Top

Dave Houston, dhouston@cpan.org, 2010

LICENSE

Top

This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.


Bing-Search documentation Contained in the Bing-Search distribution.

package Bing::Search::Result::Phonebook;
use Moose;
extends 'Bing::Search::Result';

with 'Bing::Search::Role::Types::UrlType';
   
with qw(
   Bing::Search::Role::Result::Business
   Bing::Search::Role::Result::Address
   Bing::Search::Role::Result::UserRating
   Bing::Search::Role::Result::BusinessUrl
   Bing::Search::Role::Result::City
   Bing::Search::Role::Result::CountryOrRegion
   Bing::Search::Role::Result::DisplayUrl
   Bing::Search::Role::Result::Latitude
   Bing::Search::Role::Result::Longitude
   Bing::Search::Role::Result::PhoneNumber
   Bing::Search::Role::Result::PostalCode
   Bing::Search::Role::Result::ReviewCount
   Bing::Search::Role::Result::StateOrProvince
   Bing::Search::Role::Result::Title
   Bing::Search::Role::Result::UniqueId
   Bing::Search::Role::Result::Url
);

__PACKAGE__->meta->make_immutable;