Request class for keyword search
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);
\*(C`Net::Amazon::Request::Keyword\*(C' is a class used to submit keyword search requests to the Amazon web service.
The keyword to search for is specified in the \*(C`keyword\*(C' parameter.
The catalog to search in is specified in the \*(C`mode\*(C' parameter, typical values are \*(C`books\*(C', \*(C`music\*(C', \*(C`classical\*(C' or \*(C`electronics\*(C'.
Upon success, the responses' \*(C`properties()\*(C' method will return a list of \*(C`Net::Amazon::Property::*\*(C' objects.
Constructs a new \*(C`Net::Amazon::Request::Keyword\*(C' 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.
Mike Schilli, <[email protected]>
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.