Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.0

Request #2299 TotalResults should be included in $products
Submitted: 2004-09-07 23:35 UTC
From: joe at joestump dot net Assigned: AZTEK
Status: Closed Package: Services_Amazon
PHP Version: Irrelevant OS: All
Roadmaps: (Not assigned)    

 [2004-09-07 23:35 UTC] joe at joestump dot net
Description: ------------ On line 794'ish you add a few extra keys/values to the $products array. I can't be the only one who would use TotalResults. I just added $products['total'] = $data['TotalResults'] to the array, but figured I'd point it out here. If I had kept the original version I could send a diff, but the fix was only 2 or 3 lines of code. --Joe


 [2004-09-07 23:47 UTC] aztek
I went ahead and looked at it and I will include this in the next release.
 [2005-10-06 08:06 UTC] ttsuruoka
Fixed. TotalResults is available. $amazon = new Services_Amazon('ABCDEF', 'abcdef'); $items = $amazon->searchKeyword('test', 'books'); echo $items['totalresults']; Thank you.