What language is your site written in Graham?
Hi
I currently have a site where I manually create a product then for each store (currys etc) enter the product id. My update script basically scrapes the sites product page for the price.
Is there a way to get a stores product details inc my affiliate link without having to screen scrape a page or downloading/importing the stores whole database?
So for example I enter the currys product id next to currys when editing/adding a product in my site.
Then when I run my update script for each product it loops the stores (curry's, comet etc) then for each store it gets the associated affiliate feed link I keep, passes the store id and product id, then returns the product info in xml format.
If someone can help I would be very grateful.
Graham
What language is your site written in Graham?
The trouble with the rat race is that even if you win you're still a rat.
Time passes. Listen. Time passes. Dylan Thomas
Ebay Alerts to your inbox
PHP+MySQL
The code is all bespoke and written by myself.
The suggestion I have may not fit in exactly with your requirements Graham, and I noticed that you don't want to downlaod the entire database, but, this is how I would approach this task.
- Download the xml feed daily from Awin and store on your server, via their download url.
- Query the xml file for your product id and retrieve the corresponding data from there.
- export/save that result as your formatted xml
The trouble with the rat race is that even if you win you're still a rat.
Time passes. Listen. Time passes. Dylan Thomas
Ebay Alerts to your inbox
I have seen some sites do a live lookup/refresh of prices when viewing a product. How do they do this?
They must be able to request details for once item and not download the whole product list.
From any awin merchants this is possible using the shopwindow, either the client or the API by calling the single product response, which will return the current information for that product in awin's product database.
A quick outline of the API procedure is here Getting an Individual Product : Awin API Help & Code
The trouble with the rat race is that even if you win you're still a rat.
Time passes. Listen. Time passes. Dylan Thomas
Ebay Alerts to your inbox
There's also some info on this in these documents:
- Customising ShopWindow Client Software - Bespoke Functionality
- ShopWindow Integration and Setup Guide
- Customising Shopwindow Client - Software Presentation and Content
- ShopWindow Technical Specifications and Support
- ShopWindow Appendix 2 - Category IDs
- ShopWindow v2 Features
- Web Services - ShopWindow API V2
- ShopWindow Appendix 1 - Client Software Parameter Examples
- AWin Create - a - Feed Guide
John F
Kitbag - Europe's leading online sports goods retailer.
Are AW the only ones to offer a live api?
Linkshare offer one, Tradedoubler's product database can be accessed like one. Zanox have one, I think affili.net have one, but I'm damned if I can get it to work, Affiliatefuture have xenon webservices, CJ have something that is akin to one, but it's a little clunky.
So there's plenty about.
The trouble with the rat race is that even if you win you're still a rat.
Time passes. Listen. Time passes. Dylan Thomas
Ebay Alerts to your inbox
Hi
I have plugged in to the AW interface but would really like to get it going for Webgains but they only seem to offer webservice for the reporting side of things which i can do through the webgains site, what i really need are product updates, am i missing something or does this not exist?
thanks
s
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks