Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


Per eBay website, this operation "category and/or aspect histogram information for the eBay category ID you specify. Histograms are item counts for the associated category or aspect value. Input category ID numbers in the request using the categoryId field".

Example 817. Fetching histogram

= new Zend_Service_Ebay_Finding('my-app-id');
$result  $finding->getHistograms($categoryId);

foreach (
$result->categoryHistogramContainer->categoryHistogram as $category) {

// inner call
    // like $finding->findItemsByCategory($category->categoryId);
$result2 $category->findItems($finding);

Zend Framework