Here is a little demonstration how can you use this,,
<?php
require_once("wso2/amazon/AmazonClient.php");
$amazon_client = new AmazonClient("my amazon key");
$results = $amazon_client->itemSearch("My Book", "Books", 1);
foreach ($res["results"] as $result) {
echo $result["ItemAttributes"]["Author"]. "-";
echo $result["ItemAttributes"]["Title"]. "\n";
}
?>
No comments:
Post a Comment