Net::Amazon::Request::Keyword(3pm)

Net::Amazon::Request::Keyword3pm

Request class for keyword search

Usage

  use Net::Amazon;
  use Net::Amazon::Request::Keyword;
  my $ua = Net::Amazon->new(
      token       => 'YOUR_AMZN_TOKEN'
  );
  my $req = Net::Amazon::Request::Keyword->new( 
      keyword  => 'Zwan',
      mode     => 'books'
  );
    # Response is of type Net::Amazon::Response::Keyword
  my $resp = $ua->request($req);

Overview

"Net::Amazon::Request::Keyword" is a class used to submit keyword search requests to the Amazon web service.

The keyword to search for is specified in the "keyword" parameter.

The catalog to search in is specified in the "mode" parameter, typical values are "books", "music", "classical" or "electronics".

Upon success, the responses' "properties()" method will return a list of "Net::Amazon::Property::*" objects.

Methods

new( keyword => $keyword, mode => $mode )

Constructs a new "Net::Amazon::Request::Keyword" object, used to query the Amazon web service for items matching a given keyword in the mode (catalog) specified.

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

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Mike Schilli, <[email protected]>

From libnet-amazon-perl 0.62-2 in Debian 9 (Stretch). Parsed by carta from the page's man source.