|Pulling text from another site|
just the price of a product
On my site I have a site with a couple links out to Amazon on some product pages, due to the fact that amazon prices fluctuate quite often I find that I have to update prices(textually) regulary, Is it possible to just pull the price/text from the amazon site,
Essentially I need to grab just the price in text, rather than login in and change it manually.
I'm not sure if the base affiliate agreement even allows you to capture pricing and use it at all.
The Product Advertising API's agreement allows it, but imposes limits on how you can use it.
See section 4(o).
Also note that the API is rate limited: you cannot just pass on every request ina 1:1 fashion to amazon to fetch the price, you have to cache it locally.
Amazon does have an API where you can get the pricing info from with a little programming.
Look for "Product Advertising API".
Ref: https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html (every amazon instance (.co.uk, .de, fr, .jp, .... have their own agreement, their own details etc.)
If programming is not your thing, try looking for 3rd party tools, but make sure to know what they do.
I would run the API on a cron job and cache the results, I think Amazon allows 24 hour price caching, because doing it in real time just slows the site down to unreasonably slow speeds. Google doesn't like slow sites and dings those that don't load as fast so you definitely don't want to put anything in the site that will inhibit page performance.
1 hour cache without mention of when it was captured, otherwise you must mention time of capture, and date if it was not within 24hours.
|(o) You will include a date/time stamp adjacent to your display of pricing or availability information on your application if you obtain Product Advertising Content from a Data Feed, or if you call the Product Advertising API or refresh the Product Advertising Content displayed on your application less frequently than hourly. However, during the same day on which you requested and refreshed the pricing and availability information displayed on your application, you may omit the date portion of the stamp. Examples of acceptable messaging include: |
Amazon.com Price: $32.77 (as of 01/07/2008 14:11 PST - Details)
Amazon.com Price: $32.77 (as of 14:11 PST - More info)
Additionally, you must either include the following disclaimer adjacent to the pricing or availability information or provide it via a hyperlink, popup box, scripted popup, or other similar method: "Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [amazon.com or endless.com, as applicable] at the time of purchase will apply to the purchase of this product." In the above examples, "Details" and "More info" would provide a method for the end user to read the disclaimer.
(p) You will not exceed, or if you build and release an application that calls the Product Advertising API, each copy of that application that is installed by an end user will not exceed, 1 call per second or send files to or from the Product Advertising API that are greater than 40K without our prior written approval