Bing::Search::Source::InstantAnswer - Get "instant" answer from Bing


Bing-Search documentation  | view source Contained in the Bing-Search distribution.

Index


NAME

Top

Bing::Search::Source::InstantAnswer - Get "instant" answer from Bing

SYNOPSIS

Top

 my $source = Bing::Search::Source::InstantAnswer->new;

DESCRIPTION

Top

The InstantAnswer Source will provide "instant" answers for two very specific (as of right now) types of requests -- one from Encarta (usually definitions of words) and for the airline flight status updates.

In both cases, Bing chooses the proper result based on the query. The generally accepted -- but not guaranteed -- method to get an Encarta result is to use a query like:

 define rocks

For flight status updates, the general format is the airline code followed by the flight number. For example, American Airlines flight 100 would be a query of:

 aa100

METHODS

Top

Market, Version, Latitude, Longitude

See Bing::Search for documentation of this common attributes.

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  | view source Contained in the Bing-Search distribution.