Proposal for "Services_Amazon"

» Metadata » Status
  • Category: Web Services
  • Proposer: John Downey 
  • License: BSD
» Description

This package was designed to aide developers in integrating Amazon.com's associate services into their web application. The class contains IMO a clean API that is well documented.

Example:
<php>
require_once 'PEAR.php';
require_once 'Services/Amazon.php';

$amazon = &new Services_Amazon('XXXXXXXXXXXXXX', 'catdevnull-20');
$products = $amazon->searchAsin('0672325616');

if(!PEAR::isError($products)) {
var_dump($products);
} else {
echo $products->message;
}

</php>
If you were to fill in the Developer token in the constructor this would return the results for George Schlossnagle's book Advanced PHP Programming.

» Dependencies » Links
  • XML_Unserializer
  • HTTP_Client
» Timeline » Changelog
  • First Draft: 2004-07-27
  • Proposal: 2004-07-27
  • Call for Votes: 2004-08-04
  • John Downey
    [2004-07-27 23:05 UTC]

    Fixed linebreaks in description.

  • John Downey
    [2004-08-03 03:57 UTC]

    Changed documentation location.