lundi 16 mai 2011

Google search API in Processing

When you want to get a google search inside your Processing sketch:

http://lowfrequency.org/interactivity/wiki/index.php?title=Google_API_In_Processing

On this page there is an example:
http://lowfrequency.org/interactivity/wiki/index.php?title=GoogleJSONSearch_Example


which worked right away!

(be careful, look at the dates of the link you find, for instance, this link:
http://users.design.ucla.edu/~tatsuyas/tools/google/index.htm
is from 2005 and the libraries don't work anymore.....)

But that is because I already had a json.jar
If you don't have a json.jar download this zip, which has a json.jar in the folder code in the sketch folder. Put this folder inside the Processing folder and restart Processing before running it.
http://www.contrechoc.com/crosslab/googleSearch.zip

Aucun commentaire:

Enregistrer un commentaire