1Net::Amazon::Request::TUesxetrStCroenatmr(i3b)uted PerlNDeotc:u:mAemnatzaotni:o:nRequest::TextStream(3)
2
3
4
6 Net::Amazon::Request::TextStream - request class for text stream search
7
9 use Net::Amazon;
10 use Net::Amazon::Request::TextStream;
11
12 my $ua = Net::Amazon->new(
13 token => 'YOUR_AMZN_TOKEN'
14 );
15
16 my $req = Net::Amazon::Request::TextStream->new(
17 textstream => 'Here is some text that mentions the Rolling Stones.',
18 );
19
20 # Response is of type Net::Amazon::Response::TextStream
21 my $resp = $ua->request($req);
22
24 "Net::Amazon::Request::TextStream" is a class used to perform a search
25 on a block of text. Amazon extracts keywords from the given block of
26 text, but note that conjunctions and helper words, such as "and", "or",
27 "the", etc. are not excluded, so strip them out yourself if need be.
28
29 TextStream searching is only available for the US service.
30
31 Upon success, the response's "properties()" method will return a list
32 of "Net::Amazon::Property::*" objects.
33
34 METHODS
35 new(textstream => $text)
36 Constructs a new "Net::Amazon::Request::TextStream" object, used to
37 query the Amazon web service with a block of text.
38
39 Check Net::Amazon::Request for common request parameters not listed
40 here.
41
43perl v5.32.1 2021-01-27Net::Amazon::Request::TextStream(3)