First, you must register at amazon.com,
and when your account is active, you can get a API key.
After that , We can do something funny.
Here is an example:
[php]
$ISBN = intval($_GET['isbn']);
header(“Content-type:text/xml”);
define(THANKPHP_KEY,”MYKEY”);
$str = file_get_contents(“http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=”.THANKPHP_KEY.”&Operation=ItemLookup&IdType=ISBN&ItemId=”.$ISBN.”&SearchIndex=Books&ResponseGroup=ItemAttributes,Subjects”);
echo $str;
[/php]
what will the $str are?
oh, It will be a Book’s XML Data.
Then you can parse it by yourself.
online Demo is here
you can change isbn=VALUE by yourself.
Next,we will talking about the Amazon Web Service.