This demo shows how the client can use Google Web APIs to search the web. For more information about Google Web APIs, please refer to http://www.google.com/apis/.
In addition to the files described in Files and Directories, this demo contains:
| File or directory | Description |
|---|---|
| wsdl/ | Locally stored WSDL file describing Google Web APIs |
To access the Google Web APIs service, you must create a Google Account and obtain a license key. Your Google Account and license key entitle you to 1,000 automated queries per day. You can create the account here: https://www.google.com/accounts/NewAccount
src/demo/basic/google/client/GoogleClient.java - implementation of the client for Google Web APIs
You can run the demo using the "run.sh" (for UNIX) or "run.bat" (for Windows) scripts. Running the script without arguments prints out a help message on screen.
Be sure that you have not started SESJ.
Compile the client.
Linux: ./run.sh make_client Windows: run.bat make_client
Run the client.
Linux: ./run.sh run_client <google_license_key> <query_string> Windows: run.bat run_client <google_license_key>> <query_string>