'elements of style',
'page' => 1,
'mode' => 'books',
'tag' => 'preinheimerco-20',
'type' => 'heavy',
'devtag' => '1PHH5VTRY7D300H7JTR2'
);
$namespace = 'http://soap.amazon.com';
$action = 'http://soap.amazon.com';
$method = "KeywordSearchRequest";
$result = $client->call($method,
array('KeywordSearchRequest' => $params),
$namespace, $action);
//print_r($result);
$resultItems = $result['Details'];
foreach ($resultItems AS $item)
{
$title = $item['ProductName'];
$url = $item['Url'];
$image = $item['ImageUrlSmall'];
$catagories = $item['BrowseList'];
$summary = $item['BrowseList'];
$authorList = implode($item['Authors'], ", ");
$price = $item['ListPrice'];
echo "
";
echo "$title
";
echo "Author(s): " . $authorList . "
";
echo "List Price: " . $price;
echo "
";
}
?>