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)

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.

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

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

Blender For Dummies

Blender For Dummies

Blender 3D Incredible Machines

Blender 3D Incredible Machines

Blender 3D Printing Essentials

Blender 3D Printing Essentials

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

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

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

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

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

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

Blender 3D by Example

Blender 3D by Example


-------------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--------------------