Amazon Product Search API via SOAP Example

Put in your Search Word and hit submit, by default it will search for blender 3d.
Search Word:

-------------Begin Sample Output --------------- 
Learning Blender: A Hands-On Guide to Creating 3D Animated Characters (2nd Edition)

Learning Blender: A Hands-On Guide to Creating 3D Animated Characters (2nd Edition)

The Complete Guide to Blender Graphics: Computer Modeling & Animation, Fourth Edition

The Complete Guide to Blender Graphics: Computer Modeling & Animation, Fourth Edition

Learning Blender: A Hands-On Guide to Creating 3D Animated Characters

Learning Blender: A Hands-On Guide to Creating 3D Animated Characters

3D Modeling in Blender - Tools, Tips and Tricks

3D Modeling in Blender - Tools, Tips and Tricks

Blender 3D For Beginners: The Complete Guide: The Complete Beginner’s Guide to Getting Started with Navigating, Modeling, Animating, Texturing, Lighting, Compositing and Rendering within Blender.

Blender 3D For Beginners: The Complete Guide: The Complete Beginner’s Guide to Getting Started with Navigating, Modeling, Animating, Texturing, Lighting, Compositing and Rendering within Blender.

Blender For Dummies

Blender For Dummies

Blender 3D Incredible Machines

Blender 3D Incredible Machines

The Blender Python API: Precision 3D Modeling and Add-on Development

The Blender Python API: Precision 3D Modeling and Add-on Development

Blender 3D Printing by Example: Learn to use Blender's modeling tools for 3D printing by creating 4 projects

Blender 3D Printing by Example: Learn to use Blender's modeling tools for 3D printing by creating 4 projects

Blender Foundations: The Essential Guide to Learning Blender 2.6

Blender Foundations: The Essential Guide to Learning Blender 2.6


-------------End Sample Output---------------
-------------Being Example Php Code which generated the above output---------------
-------------Note: You must substitute your own AWS_API_KEY, AWS_API_SECRET_KEY, and AWS_ASSOCIATE_TAG------------------

<?php
require 'AmazonECS/AmazonECS.class.php';
define('AWS_API_KEY', 'YOUR_AMAZON_SECRET_KEY_GOES_HERE');
define('AWS_API_SECRET_KEY', 'YOUR_AMAZON_AWSAccessKeyId_GOES_HERE');
define('AWS_ASSOCIATE_TAG', 'AWSECommerceService');
try { /* Get an object with your API Key and secret key. */ $amazonEcs = new AmazonECS(AWS_API_KEY, AWS_API_SECRET_KEY, 'com', AWS_ASSOCIATE_TAG); /* AWS_ASSOCIATE_TAG is now required */ $amazonEcs->associateTag(AWS_ASSOCIATE_TAG); /* if we pass a post variable named search then use that, otherwise default to "Blender 3d" */ if (isset($_POST["search"])){ $search = $_POST["search"]; } else { $search = "blender 3d"; } /* Change category to Book */ $response = $amazonEcs->category('Books')->responseGroup('Large')->search($search); //var_dump($response); foreach($response->Items->Item as $item) { echo "<div style='clear:left; margin: 2px;' >"; echo "<a href=\"".$item->DetailPageURL."\"><img style='float: left; clear:left; margin: 2px;' src=\"".$item->SmallImage->URL."\" alt=\"".$item->ItemAttributes->Title."\" /></a>"; echo "<p >"; echo $item->ItemAttributes->Title; echo "</p><p >"; echo "</p></div>"; } } catch (Exception $e) { echo 'Caught exception: ' , $e->getMessage(), "\n"; }
-------------End Php Code--------------------