The RESTful Way: XML/HTTP
Amazon refers to its REST implementation as the XML/HTTP method. XML data using this method is simply a matter of hacking variables in a URL. The base URL always starts like this:
your associates ID
The URL points at a server specifically for serving up XML
xml.amazon.com), lets Amazon know which Web
Services version you’re requesting (
passes along your Amazon Associates ID Section 5.2 as a variable
There are also several other variables that can be (or must be)
appended to this request as described in the following sections.
Each request requires these four variables:
As mentioned above, this is always set to your associates ID. It lets Amazon track purchases made through your applications and enables you to earn affiliate fees.
This is set to your developer’s token.
The only possible values for
heavy. It describes which XML format to return.
This is the format the data should be returned in, usually
xml. It can also be set to the URL of an XSL stylesheet to return formatted HTML.
Beyond the four required variables, you can also choose variables from the list below to get the exact data you’re looking for.
Searches for products by subject.
Browses product area by code.
AsinSearch (+ offer, + offerpage)
Returns a specific product detail.
Searches for UPC numbers. ...