GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Amazon::Request::Power(3) User Contributed Perl Documentation Net::Amazon::Request::Power(3)

Net::Amazon::Request::Power - request class for 'Power Search'

  use Net::Amazon;
  use Net::Amazon::Request::Power;

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

  my $req = Net::Amazon::Request::Power->new( 
      power => 'subject: perl and author: schwartz',
      mode  => 'books',
  );

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

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

The "power" parameter specifies the power search string, "mode" defines which properties to look for.

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

new(power => $search_string, mode => $property)
Constructs a new "Net::Amazon::Request::Power" object. $property is typically "books". Examples for $search_string are:

    author: schwartz

    author: schwartz and pubdate: after 10-2002

    subject: perl and (objects or object-oriented)

    keywords: "high tech*" and not fiction and pubdate: during 1999

    power "author: randal schwartz and publisher: Addison Wesley"

    author: randal schwartz and title: object books
    

See the "Amazon Web Services 2.1 API and Integration Guide" for details.

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

Martin Streicher, <martin.streicher@apress.com> Mike Schilli, <m@perlmeister.com>
2009-09-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.