nabeel shahzad

Amazon PHP API

without comments

I couldn’t find a working PHP class for the Amazon API, which had Exception handling and some versatility. So I wrote one up. It’s a work-in-progress at the moment, but it’s available on GitHub:

http://github.com/nshahzad/AmazonAPI

The included README has detailed instructions. The class uses the __call() functionality, and you just pass the required parameters as a dictionary array. Requires some reading of the Amazon docs, but much more flexible.

PHP
1
2
include 'amazon.php';
$amz = new AmazonProductLookup('YOUR AWS KEY', 'YOUR SECRET KEY');

Written by Nabeel

September 29th, 2010 at 9:20 am

Posted in General