SYNOPSIS

  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

\*(C`Net::Amazon::Request::TextStream\*(C' 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 \*(L"and\*(R", \*(L"or\*(R", \*(L"the\*(R", etc. are not excluded, so strip them out yourself if need be.

TextStream searching is only available for the \s-1US\s0 service.

Upon success, the response's \*(C`properties()\*(C' method will return a list of \*(C`Net::Amazon::Property::*\*(C' objects.

\s-1METHODS\s0

Constructs a new \*(C`Net::Amazon::Request::TextStream\*(C' object, used to query the Amazon web service with a block of text.

Check Net::Amazon::Request for common request parameters not listed here.

RELATED TO Net::Amazon::Request::TextStream…