SQL::Amazon::Request::Help 0.10 review

Download
by rbytes.net on

SQL::Amazon::Request::Help is an Interface to retrieve Help content. SYNOPSIS $dbh = DBI->connect('dbi:Amazon:', $a

License: Perl Artistic License
File size: 57K
Developer: Presicient Corporation, USA
0 stars award from rbytes.net

SQL::Amazon::Request::Help is an Interface to retrieve Help content.

SYNOPSIS

$dbh = DBI->connect('dbi:Amazon:', $amznid, undef,
{ amzn_mode => 'books',
amzn_locale => 'us',
amzn_max_pages => 3
})
or die "Cannot connect: " . $DBI::errstr;
#
# search for some Perl DBI books
#
$sth = $dbh->prepare("
SELECT ASIN,
Title,
Publisher,
PublicationDate,
Author,
SmallImageURL,
URL,
SalesRank,
ListPriceAmt,
AverageRating
FROM Books
WHERE MATCHES ALL('Perl', 'DBI') AND
PublicationDate >= '2000-01-01'
ORDER BY SalesRank DESC,
ListPriceAmt ASC,
AverageRating DESC");

$sth->execute or die 'Cannot execute: ' . $sth->errstr;

print join(', ', @$row), "n"
while $row = $sth->fetchrow_arrayref;

$dbh->disconnect;

DBD::Amazon provides a DBI and SQL syntax abstraction for the Amazon(R) E-Commerce Services 4.0 API *aka* ECS. < http://www.amazon.com/gp/ >. Using the REST interface, and a limited SQL dialect, it provides a DBI-friendly interface to ECS.

Be advised that this is ALPHA release software and subject to change at the whim of the author(s).

Requirements:
Perl 5.8.0
DBI 1.42 minimum
SQL::Statement 1.14
SQL::Amazon 0.10 (included in this bundle)
Clone 0.15

SQL::Amazon::Request::Help 0.10 search tags