Michael Schilli > Net-Amazon-0.35 > Net::Amazon::Request::Similar

Download:
Net-Amazon-0.35.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  2
View/Report Bugs
Source   Latest Release: Net-Amazon-0.62

NAME ^

Net::Amazon::Request::Similar - request class for 'Similarities Search'

SYNOPSIS ^

  use Net::Amazon;
  use Net::Amazon::Request::Similar;

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

  my $req = Net::Amazon::Request::Similar->new( 
      similar => 'B00005B6TL',
  );

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

DESCRIPTION ^

Net::Amazon::Request::Similar is a class used to request so-called Similarities Searches from the Amazon web service.

The asin parameter specifies the ASIN of the item which you want to get similar items for.

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

METHODS

new(similar => $asin)

Constructs a new Net::Amazon::Request::Similar object.

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

SEE ALSO ^

AUTHOR ^

Mike Schilli, <m@perlmeister.com>

COPYRIGHT AND LICENSE ^

Copyright 2003 by Mike Schilli <m@perlmeister.com>

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

syntax highlighting: