Google AJAX search api
Using th开发者_开发知识库e Google AJAX search api
How can I call a search from my own text box? And parse the results in javascript?
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
The Google Search API is really well documented. This looks like something you'd be after, maybe?
Go here for the API, Developer's documentation and samples.
There is also a nice blog here.
精彩评论