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 api
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Google api  (Read 1027 times)
st33d

WWW Email
Google api
« on: Dec 12th, 2004, 9:37pm »

I've signed up to have a go beta testing the Google api. They send you a Java file and other gubbinz but by adding the file to an applet the simplest program wont run. Eg:
 
Code:

println("hi");

 
Returns "." Expected instead of this token. I gather that means I'm supposed to set up an object I don't know the name of.
 
A run down of the api is here:
 
http://www.stanford.edu/class/cs276a/projects/docs/googleapi/index.html
 
Has anyone had any luck integrating the Google thing with Processing? Is at all possible? I've tried some of the example Java code but I keep getting the error I mentioned above.
« Last Edit: Dec 12th, 2004, 9:53pm by st33d »  

I could murder a pint.
saito

tatsuyas1979 WWW Email
Re: Google api
« Reply #1 on: Jan 3rd, 2005, 11:19pm »

i actually wrote a processing wrapper for google api long time ago.
you can get info from here:
http://www.saitatsu.net/blog/archives/000240.html
 
i am currently developing an external library for gogole api for the next version of processing. it will be available soon..
 
 
 
-saito
 
tatsuyas@ucla.edu
 

-SAITO / tatsuyas@ucla.edu
st33d

WWW Email
Re: Google api
« Reply #2 on: Jan 4th, 2005, 1:46am »

Magic. I've already started writing a html parser which should have the ability to extract image sources when finished. That's something the google api doesn't accomodate.
 
Do you happen to have that wrapper pre-compliled at all?
 
I ask because it took me at least three hours to figure out the correct syntax to certify a signed applet in DOS. I'd rather not go through all that again trying to find out how to compile java.
 

I could murder a pint.
Pages: 1 

« Previous topic | Next topic »