This chapter explored Amazon API, initially using both the REST and SOAP protocols, then concentrating on the SOAP protocol for the more detailed examples. Several different methods of exploring the Amazon API were introduced: searching by Keyword, Author, and finally the ASIN. A few different uses for the information were explored, such as to allow tracking of prices and sales rank over time. Finally, the concept of a personal store was introduced, allowing you to present selected items to your users on an ongoing basis. Key elements of this chapter included the following:
An introduction to the API itself
Presentation of a sample REST request
Introducing several different SOAP search formats
Examples demonstrating different uses of the API
You now have the information you need to incorporate the Amazon API into your site. By presenting products available from Amazon to your customers (you could, for example, link product reviews to the appropriate Amazon item), you not only give your visitors an easy way to order the product, but you also open up a valuable revenue stream for your site. The next chapter introduces the FedEx API, to allow you to automatically view cost shipments, generate shipping labels, track packages, and accept returns.