google-search-api

Why are Google API queries through simplejson returning "responseData": null?

I'm trying to screenscrape the first result of a Google search using Python and simplejson, but I can't access the search results the way that many examples online demonstrate. Here's a snippet: url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&%s' % (query) search_results = urllib.urlopen(url) json = simplejson.load(...

Strange javascript error when using Google Image Search API

I'm trying to copy the Google image search from this page. Here is my code: <script type="text/javascript"> <% if @note.text == "" %> google.load("search", "1",{"callback":searchCallback()}); <% else %> google.load("visualization", "1",{"callback":dummyFunction}); <% end %> function se() { var sF...

Implementing Google Custom Search API through Greasemonkey

Hi everyone, I want to implement the Google custom search API with Greasemonkey, and so far my trials have met with mostly failures. The goal of the code is to inject a custom search box into an existing site (I'm trying to do this for MATLAB's documentation pages, but the injected code should really work with any site). I have attempte...

Google search results via XML not iframe

I'm looking for a google search module that uses the 'Google Custom Search API' so that I can pull the results and theme them on my page. I know about the google_cse module. But that module does not let you customize the look of the results pulled because it's doing it via an iframe. What a I'm looking for is more like what you s...

Google Site Search with advanced options

I am looking at implementing search functionality on our websites with the Google Site Search API. I need to be able to create advanced search options via a dropdown or checkbox list that would limit the search results to certain section of our website. Based on what I have read here http://stackoverflow.com/questions/2381305/meta-tags...

removing duplication in google search api?

I am performing a google search in my application through google search api. It gives me the duplicate results. How to avoid it. I refer http://code.google.com/apis/ajaxsearch/documentation/reference.html#_intro_fonje ...

Build a search-based-app using an API from a major search engine: google, bing, yahoo - who offers search API?

Hello, Please bear with me while I explain the issue... I need to provide search functionality as the cornerstone of my app (basically I think I can make a better interface than whats is offered by Google, bing, yahoo - bold claim I know). Therefore I will not build an entire search engine from scratch, I will rather use an API provide...

Any API to search Google Cache?

I am trying to search within Google Cache, so I need to fire this query: http://webcache.googleusercontent.com/search?q=cache:news.ycombinator.com/news+hacker+news And get some content like timestamp from the page. But when I do this using curl (ruby), it gives a permission denied error, i.e. scraping is blocked and that was expected...

How to implement searching?

Hi, we are trying to add searching to our web site and want this search function to search only a few things: Files - Obviously we need to parse the text of PDF, PPT and DOC files in our case User comments. Users will be available to comment on the stuff and we want to catch if some user is searching for that relative information I w...

Posting to Google Custom Search from another Page?

I have a Joomla page that contains a Google Custom Search Div in it. <div id="cse" style="width: 100%;">Loading</div> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript"> google.load('search', '1', {language : 'en'}); google.setOnLoadCallback(function() { var customSearchCont...