Google AJAX search api

498 Views Asked by At

Using the Google AJAX search api

How can I call a search from my own text box? And parse the results in javascript?

3

There are 3 best solutions below

0
peirix On

The Google Search API is really well documented. This looks like something you'd be after, maybe?

0
Federer On

Go here for the API, Developer's documentation and samples.

There is also a nice blog here.

0
mattmanser On

The old API was deprecated in Nov 2010, although it is still available.

You're now supposed to use the custom search API which they've geared towards searching only particular sites. You can actually get it to search the whole web by following the method described here:

http://www.google.com/support/customsearch/bin/answer.py?answer=1210656