SYNOPSIS

  use Net::Amazon;
  use Net::Amazon::Request::ASIN;

  my $ua = Net::Amazon->new(
      token       => 'YOUR_AMZN_TOKEN'
  );

  my $req = Net::Amazon::Request::ASIN->new(
      asin  => '0201360683'
  );

    # Response is of type Net::Amazon::Response::ASIN
  my $resp = $ua->request($req);

DESCRIPTION

\*(C`Net::Amazon::Request::ASIN\*(C' is a class used to submit \s-1ASIN\s0 requests to the Amazon web service.

The \s-1ASIN\s0 of the item to look is specified in the \*(C`asin\*(C' parameter.

Upon success, the responses' \*(C`properties()\*(C' method will return one single \*(C`Net::Amazon::Property::*\*(C' object.

\s-1METHODS\s0

Constructs a new \*(C`Net::Amazon::Request::ASIN\*(C' object, used to query the Amazon web service for an item with the specified \s-1ASIN\s0 number. $asin can also be a reference to an array of ASINs, like in $ua->search(asin => ["0201360683", "0596005083"]) in which case a search for multiple ASINs is performed, returning a list of results.

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

AUTHOR

Mike Schilli, <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2003 by Mike Schilli <[email protected]>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.