Christopher Boumenot > Net-Amazon-0.59 > Net::Amazon::Request::Similar

Download:
Net-Amazon-0.59.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  2
View Bugs
Report a bug
Source  

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.

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.