2009年3月23日星期一

[fw-db] Zend and Amazon webservices

Hi! I´m using Zend framework to display products from amazon.

i tried the code from the zend documentation page:

[code]

$amazon = new Zend_Service_Amazon('AMAZON_API_KEY');

$results = $amazon->itemSearch(array(
'SearchIndex' => 'Books',
'Keywords' => 'php',
'ResponseGroup' =>
'Large,ItemAttributes,Images,SalesRank,Reviews,' .
'EditorialReview,Similarities,ListmaniaLists'
));

foreach ($results as $result) {
echo $result->Title . '<br />';
}

[/code]

..and it work! what i can´t do is to display images and URLS from the
products returned!! Can anyone help me ?
..i already change the ResponseGroup tag (Small to Medium or Large) but
nothing happens!

Thanks!! :-)
--
View this message in context: http://www.nabble.com/Zend-and-Amazon-webservices-tp22663164p22663164.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: