[461] in Software_Announce

home help back first fref pref prev next nref lref last post

little goole applications

daemon@ATHENA.MIT.EDU (Alex Coventry)
Mon Apr 15 13:34:30 2002

Date: Mon, 15 Apr 2002 13:34:24 -0400
Message-Id: <200204151734.NAA16908@opus.mit.edu>
From: Alex Coventry <alex_c@MIT.EDU>
To: software-announce@MIT.EDU


hi.  i've been playing with the new SOAP api google has provided to its
database.  this is a very simple application of it, but i've found it to
be pretty useful over the past couple of days, so it seemed like it'd be
worthwhile to release it.  ONCE YOU HAVE A LICENSE KEY (see below for
how to get one) you use it like this:

add outland
summ 'wait in vain for your love lyrics' | less

this spews a list of the first ten pages that google returns for that
query.  i've found this more convenient than starting up a browser and
clicking through google's matches link by link.

you need to get a license key from http://google.com/apis to use it.
from that url, you click on "create account", enter your email address
and a password, hit submit, go to the url in the email they'll send to
you as a result, then log in to google.com with your email address and
password.  they'll then send you a license key, which you have to put in
a file called ~/.google_soap_license.  so if the email they send you
says

Your Google Web APIs license key is XyXyXyXyXyXyXyXyXyXyXyXyXyXyXyXy

~/.google_soap_license should contain the line

XyXyXyXyXyXyXyXyXyXyXyXyXyXyXyXy

and nothing else.  google permits 1000 queries a day on each key.  the
summ command results in 11 queries, so you can do 90 calls to it a day.

enjoy.
alex.

home help back first fref pref prev next nref lref last post