Extension:AmazonLookup

The AmazonLookup extension adds a new tag which allows you to quickly and simple create a formatted box of information about a product on Amazon. It does this by connecting to the Amazon Product Advertising API.

Pre-Installation

 * 1) You will need to create an Amazon Product Advertising API account: Product Advertising API
 * 2) You will also need an Amazon Associates account and Associate Tag: Associates

Installation

 * Extract contents of AmazonLookup.zip to extensions/AmazonLookup/
 * Add the following code at the bottom of your LocalSettings.php:


 * Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Configuration
You will need to add the following parameters at the bottom of your LocalSettings.php or adjust them in extensions/AmazonLookup/AmazonLookup.php:

Usage
For the most basic use, you will need to get the ASIN from Amazon for the product you would to display. The ASIN is a 10 digital number found in all Amazon product URLs as shown in the following examples:
 * http://www.amazon.com/gp/product/ 0375833870/
 * http://www.amazon.com/dp/ B008JFUQ3O/
 * Normally found after dp/ or gp/product/


 * Basic usage:


 * Custom title text:


 * Just show linked title text:


 * Just show a linked image:


 * Change the image size:
 * Valid image sizes are: Swatch (30px), Small or Thumbnail (75px), Tiny (110px), Medium (160px), Large (500px). Pixels represent maximum height. Small is the default if emitted.


 * Just show a linked image with adjusted size:


 * Define Item ID type to retrieve:
 * Valid Item IDs are: ASIN, ISBN, UPC, and EAN.