beautypg.com

Google Commerce Search Deployment Guide User Manual

Page 6

background image

2. Formats a request for the Google Shopping API based on the keywords and any other

parameters specified in the search request

3. Sends the Request to Google
4. Receives the Shopping API response from Google
5. Parses the Response
6. Applies any HTML or CSS styles to the results


Results are displayed in the user’s browser.

While it might sound like a lot of work, this all happens in under a second, in most cases. The
request/response format is typical to any Web Services-based application, and is done by way
of HTTP. It’s RESTful, so no state needs to be maintained between requests.

Example implementation code for php, Java (jsp) and .NET is available as part of the GCS
Admin Toolkit project at

http://code.google.com/p/gcs-admin-toolkit/

Implementation of the server-side code using the Shopping API is discussed in

Chapter 4

.


6