From 3282be229999dc36c197b264d63063a18d136331 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Sun, 11 Nov 2007 06:55:13 +0000 Subject: * Update installation list with required modules * Remove unused/doubled provided external perl moduls --- lib/Net/Amazon/Request/TextStream.pm | 76 ------------------------------------ 1 file changed, 76 deletions(-) delete mode 100644 lib/Net/Amazon/Request/TextStream.pm (limited to 'lib/Net/Amazon/Request/TextStream.pm') diff --git a/lib/Net/Amazon/Request/TextStream.pm b/lib/Net/Amazon/Request/TextStream.pm deleted file mode 100644 index 62a0717..0000000 --- a/lib/Net/Amazon/Request/TextStream.pm +++ /dev/null @@ -1,76 +0,0 @@ -###################################################################### -package Net::Amazon::Request::TextStream; -###################################################################### -use warnings; -use strict; -use base qw(Net::Amazon::Request); - -################################################## -sub new { -################################################## - my($class, %options) = @_; - - $class->_assert_options_defined(\%options, - 'textstream'); - - $class->_convert_option(\%options, - 'textstream', - 'TextStreamSearch'); - - my $self = $class->SUPER::new(%options); - - bless $self, $class; # reconsecrate -} - -1; - -__END__ - -=head1 NAME - -Net::Amazon::Request::TextStream - request class for text stream search - -=head1 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); - -=head1 DESCRIPTION - -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 "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 C method will return a list -of C objects. - -=head2 METHODS - -=over 4 - -=item new(textstream => $text) - -Constructs a new C object, used to query -the Amazon web service with a block of text. - -=back - -Check L for common request parameters not listed here. - -=head1 SEE ALSO - -=cut -- cgit v1.2.3