DBD::AmazonDBD::Amazon is a DBI driver abstraction for the Amazon E-Commerce Services API. | |
Download |
DBD::Amazon Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Presicient Corporation, USA
- Publisher web site:
- http://search.cpan.org/~darnold/DBD-Amazon-0.10/lib/DBD/Amazon.pm
DBD::Amazon Tags
DBD::Amazon Description
DBD::Amazon is a DBI driver abstraction for the Amazon E-Commerce Services API. DBD::Amazon is a DBI driver abstraction for the Amazon E-Commerce Services API.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
DBD::Amazon Related Software