Geekspeak: April 29, 2002

By Timothy Dyck  |  Posted 2002-04-29 Print this article Print

Amazon.Com and Google.Com add XML APIs.

Two web titans, and, both recently launched experimental XML-based Web service APIs that alpha-geek developers can kick around to see how they might be used to incorporate these sites features into developers own Web sites. Amazon.coms API (available only to those in the sites Associates program) takes the first steps in opening up Amazon.coms huge product catalogs to others. Unfortunately, the API allows only searching by keyword or subject area; wed also like to have ISBN book-searching capabilities. Search results include common bibliographic information but not current prices or availability information.

The API is an unusual beast. Its not based on SOAP but instead has a URL-based calling syntax and returns a simple XML document instead of a SOAP message. Given the support that SOAP now has in development tools, a SOAP interface would allow easier site integration.

Google.coms API is based on SOAP and comes with bindings and sample code written in Java and C#. As with Amazon.coms API, callers need to register and pass in their ID with requests. Currently, the beta APIs are only for personal, noncommercial use (at home or at work) and are limited to 1,000 queries per day. Three features are exposed: a complete search interface, an API for retrieving old documents from the cache (a good way to make sure links to third-party content dont disappear) and an interface for Google.coms spelling checker (which is uniquely well-suited to correcting proper names).

Timothy Dyck is a Senior Analyst with eWEEK Labs. He has been testing and reviewing application server, database and middleware products and technologies for eWEEK since 1996. Prior to joining eWEEK, he worked at the LAN and WAN network operations center for a large telecommunications firm, in operating systems and development tools technical marketing for a large software company and in the IT department at a government agency. He has an honors bachelors degree of mathematics in computer science from the University of Waterloo in Waterloo, Ontario, Canada, and a masters of arts degree in journalism from the University of Western Ontario in London, Ontario, Canada.

Submit a Comment

Loading Comments...
Manage your Newsletters: Login   Register My Newsletters

Rocket Fuel