Andy
10-03-08, 18:12
Im sure we're all awaiting the new release with baited breath.
some aren't as happy of the impending release as others (I think thats more to do with backwards compatibility than anything else)
I've been pratting around on my V1 today (thats Shopwindow client V1) and adding abit of api functionality. this is the first time I've actually looked at the response since Digiwin announced they were making changes at their end (I think about a fortnight ago).
Anyhoo, here's 1 object from the response for some TV or other:
[3] => stdClass Object
(
[iId] => 22890426
[iMerchantId] => 1132
[sMerchantProductId] => 23W330DB
[iUpc] => 0
[iEan] => 0
[iIsbn] => 0
[sName] => Toshiba 23W330DB LCD Television
[sDesc] => 23" HD Raedy LCD. Super Slim Screen. Integrated Freeview. HDMI Connection. These super-slim screens will take your breath away.
[sSpec] =>
[sPromo] => 23" HD Ready LCD With HDMI Connection and Freeview
[sBrand] => Toshiba
[sModel] =>
[sLanguage] => EN
[iCategoryId] => 46
[sAwDeepLink] => http://www.awin1.com/pclick.php?p=22890426&a=*****&m=1132&platform=cs
[sAwThumbUrl] => http://images.productserve.com/thumb/1132/22890426.jpg
[sAwImageUrl] => http://images.productserve.com/preview/1132/22890426.jpg
[sDeepLink] => http://www.digitaldirect.co.uk/redirect.asp?id=12647
[sThumbUrl] =>
[sImageUrl] => http://images.otherserver.co.uk/products/toshiba/23w330db_sm.jpg
[sDeliveryTime] =>
[dValidFrom] => 0000-00-00
[dValidTo] => 0000-00-00
[sCurrency] => GBP
[fSearchPrice] => 313.89
[fStorePrice] => 0
[fRrpPrice] => 0
[sDisplayPrice] => 313.89
[fDeliveryCost] => 0
[bWebOffer] => false
[bPreOrder] => false
[bInStock] => true
[iStockQuantity] => 0
[bIsForSale] => true
[sWarranty] =>
[sCondition] =>
[iParentProductId] => 0
[fCommissionAmount] => 0
[sType] =>
[sRefineByOne] =>
[sRefineByTwo] =>
[sRefineByThree] =>
[sRefineByFour] =>
[sRefineByFive] =>
[dLastUpdated] => 2008-03-09 18:43:13
[sMd5] => be4509d402faff90afdaf9e90c6e2be8
)
It's quite extensive compared to what we got before. I like the idea of feeding warranty, condition info and delivery prices alot!
what's more, a simple bit of codery could see all feeds that haven't been updated in (say) a month completely ignored, or we could display products in our categories based on dLastUpdated (obviously, get the response first, play with it later)
OK, it's gonna be a right royal pain in the arse updating all our installations and reworking all our edits to fit, but for the first time, I see some light at the end of this tunnel.
I'm hoping there won't be any blank fields in responses (merchant incompetance permitting) and we'll get everything the above array list is promising.
Bring on the V2!!
some aren't as happy of the impending release as others (I think thats more to do with backwards compatibility than anything else)
I've been pratting around on my V1 today (thats Shopwindow client V1) and adding abit of api functionality. this is the first time I've actually looked at the response since Digiwin announced they were making changes at their end (I think about a fortnight ago).
Anyhoo, here's 1 object from the response for some TV or other:
[3] => stdClass Object
(
[iId] => 22890426
[iMerchantId] => 1132
[sMerchantProductId] => 23W330DB
[iUpc] => 0
[iEan] => 0
[iIsbn] => 0
[sName] => Toshiba 23W330DB LCD Television
[sDesc] => 23" HD Raedy LCD. Super Slim Screen. Integrated Freeview. HDMI Connection. These super-slim screens will take your breath away.
[sSpec] =>
[sPromo] => 23" HD Ready LCD With HDMI Connection and Freeview
[sBrand] => Toshiba
[sModel] =>
[sLanguage] => EN
[iCategoryId] => 46
[sAwDeepLink] => http://www.awin1.com/pclick.php?p=22890426&a=*****&m=1132&platform=cs
[sAwThumbUrl] => http://images.productserve.com/thumb/1132/22890426.jpg
[sAwImageUrl] => http://images.productserve.com/preview/1132/22890426.jpg
[sDeepLink] => http://www.digitaldirect.co.uk/redirect.asp?id=12647
[sThumbUrl] =>
[sImageUrl] => http://images.otherserver.co.uk/products/toshiba/23w330db_sm.jpg
[sDeliveryTime] =>
[dValidFrom] => 0000-00-00
[dValidTo] => 0000-00-00
[sCurrency] => GBP
[fSearchPrice] => 313.89
[fStorePrice] => 0
[fRrpPrice] => 0
[sDisplayPrice] => 313.89
[fDeliveryCost] => 0
[bWebOffer] => false
[bPreOrder] => false
[bInStock] => true
[iStockQuantity] => 0
[bIsForSale] => true
[sWarranty] =>
[sCondition] =>
[iParentProductId] => 0
[fCommissionAmount] => 0
[sType] =>
[sRefineByOne] =>
[sRefineByTwo] =>
[sRefineByThree] =>
[sRefineByFour] =>
[sRefineByFive] =>
[dLastUpdated] => 2008-03-09 18:43:13
[sMd5] => be4509d402faff90afdaf9e90c6e2be8
)
It's quite extensive compared to what we got before. I like the idea of feeding warranty, condition info and delivery prices alot!
what's more, a simple bit of codery could see all feeds that haven't been updated in (say) a month completely ignored, or we could display products in our categories based on dLastUpdated (obviously, get the response first, play with it later)
OK, it's gonna be a right royal pain in the arse updating all our installations and reworking all our edits to fit, but for the first time, I see some light at the end of this tunnel.
I'm hoping there won't be any blank fields in responses (merchant incompetance permitting) and we'll get everything the above array list is promising.
Bring on the V2!!