FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Integration
(Moderators: fry, REAS)
   google it: proce55ing and google
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: google it: proce55ing and google  (Read 597 times)
mad merv (mm)
Guest
Email
google it: proce55ing and google
« on: Jun 3rd, 2004, 1:04am »

poll 1000s of site listings with this free google web API; google.jar
http://www.google.com/apis/download.html
 
Registration and key
--------------------
 
In order to use Google Web APIs you first must register with Google to
receive an authentication key. You can do this online at
http://www.google.com/apis/.
 
Your key will have a limit on the number of requests a day that you
can make. The default limit is 1000 queries per day. If you have
problems with your key or getting the correct the daily quota of
queries, plase contact <api-support@google.com>.
 
 
How to use the Java API
-----------------------
 
To quickly try the API, run
  java -cp googleapi.jar com.google.soap.search.GoogleAPIDemo <key> search Foo
Where <key> is your registration key and Foo is the item you wish to
search for. GoogleAPIDemo is a simple demonstration of how to use the
Java API included in googleapi.jar. For usage, run it with no arguments:  
  java -cp googleapi.jar com.google.soap.search.GoogleAPIDemo
 
GoogleAPIDemo is only a demonstration; Java programmers should look at
the source for GoogleAPIDemo and the included Javadoc for the
GoogleSearch class to learn more about how to use our Java library.
 
The library has our SOAP endpoint address built in. You may want to
override this endpoint, for instance to point it at a debugging proxy.
You can do this either by calling the appropriate method in
GoogleSearch or by setting the Java property "google.soapEndpointURL".
The default URL is http://api.google.com/search/beta2
 
Pages: 1 

« Previous topic | Next topic »