Google AJAX search api

504 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
On

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

0
On

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

There is also a nice blog here.

0
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