[ASK] How to parse CJ Webservices Result (i am Using CAkephp)

Discussion in 'Commission Junction' started by solik, Jul 17, 2009.

  1. #1
    Sorry if i wrong place to ask. I used cakephp to access CJ webservices and i get this result below from CJ services. So i need help to parsing this result below.Please help me to parse it, i want to save it on local database (or my web hosting)

    stdClass Object
    (
    [out] => stdClass Object
    (
    [count] => 2
    [offset] => 0
    [products] => stdClass Object
    (
    [Product] => Array
    (
    [0] => stdClass Object
    (
    [adId] => 10553769
    [advertiserId] => 2376886
    [advertiserName] => Bplay -- BlackBerry Mobile Entertainment Products
    [buyUrl] => http://www.anrdoezrs.net/click-3238895-10553769?url=http%3A%2F%2Fwww.bplay.com%2Frl%2Fcj%2Ftheme.php%3Ft%3D212&cjsku=lsu_tigers
    [catalogId] => cjo:2460
    [currency] => USD
    [description] => LSU Tigers Theme: LSU Tigers theme for BlackBerry.
    [imageUrl] => http://www.bplay.com/img/themes/lsu_tigers/splash.jpg
    [inStock] =>
    [isbn] =>
    [manufacturerName] =>
    [manufacturerSku] =>
    [name] => LSU Tigers - BlackBerry Theme
    [price] => 5.99
    [retailPrice] => 0
    [salePrice] => 0
    [sku] => lsu_tigers
    [upc] =>
    )

    [1] => stdClass Object
    (
    [adId] => 10553769
    [advertiserId] => 2376886
    [advertiserName] => Bplay -- BlackBerry Mobile Entertainment Products
    [buyUrl] => http://www.anrdoezrs.net/click-3238895-10553769?url=http%3A%2F%2Fwww.bplay.com%2Frl%2Fcj%2Ftheme.php%3Ft%3D281&cjsku=clemson_tigers
    [catalogId] => cjo:2460
    [currency] => USD
    [description] => Clemson Tigers Theme: Clemson Tigers theme for BlackBerry
    [imageUrl] => http://www.bplay.com/img/themes/clemson_tigers/splash.jpg
    [inStock] =>
    [isbn] =>
    [manufacturerName] =>
    [manufacturerSku] =>
    [name] => Clemson Tigers - BlackBerry Theme
    [price] => 5.99
    [retailPrice] => 0
    [salePrice] => 0
    [sku] => clemson_tigers
    [upc] =>
    )

    )

    )

    [totalResults] => 24080
    )

    )


    thx before
     
    solik, Jul 17, 2009 IP