Rechercher une page de manuel
Net::Amazon::Request::TextStream.3pm
Langue: en
Version: 2009-05-28 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Net::Amazon::Request::TextStream - request class for text stream searchSYNOPSIS
use Net::Amazon; use Net::Amazon::Request::TextStream; my $ua = Net::Amazon->new( token => 'YOUR_AMZN_TOKEN' ); my $req = Net::Amazon::Request::TextStream->new( textstream => 'Here is some text that mentions the Rolling Stones.', ); # Response is of type Net::Amazon::Response::TextStream my $resp = $ua->request($req);
DESCRIPTION
"Net::Amazon::Request::TextStream" is a class used to perform a search on a block of text. Amazon extracts keywords from the given block of text, but note that conjunctions and helper words, such as ``and'', ``or'', ``the'', etc. are not excluded, so strip them out yourself if need be.TextStream searching is only available for the US service.
Upon success, the response's "properties()" method will return a list of "Net::Amazon::Property::*" objects.
METHODS
- new(textstream => $text)
- Constructs a new "Net::Amazon::Request::TextStream" object, used to query the Amazon web service with a block of text.
Check Net::Amazon::Request for common request parameters not listed here.
SEE ALSO
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre