Questions tagged [google-search-api]

The Google Custom Search API enables licensed API access, via REST calls, to the Google search engine.

The Google Custom Search API exposes the Google search via a REST API. Invoking the service requires an API Key, and allows a fixed number of free calls before charges begin. It is a replacement/re-branding of the previous Google Search APIs which are deprecated as of 2010.

The API can handle requests in JSON or XML format.

Information on the API is available from Google: https://developers.google.com/custom-search/json-api/v1/overview

644 questions
134
votes
3 answers

What to use now Google News API is deprecated?

As part of a Project I'm working on I've been instructed to implement Google News API into a Web Application. However, I've checked the Google News API site, and I see the following message: Important: The Google News Search API has been officially…
Curtis
  • 101,612
  • 66
  • 270
  • 352
107
votes
7 answers

How can you search Google Programmatically Java API

Does anyone know if and how it is possible to search Google programmatically - especially if there is a Java API for it?
Dan
  • 9,681
  • 14
  • 55
  • 70
75
votes
7 answers

Google Search autocomplete API?

Does Google provide API access to autocomplete for search like on the actual site? I have not been able to find anything. I would like to use Google's autocomplete logic for web search on my own site which relies on Google's search API.
Justin Meltzer
  • 13,318
  • 32
  • 117
  • 182
65
votes
9 answers

Hash of a cell text in Google Spreadsheet

How can I compute a MD5 or SHA1 hash of text in a specific cell and set it to another cell in Google Spreadsheet? Is there a formula like =ComputeMD5(A1) or =ComputeSHA1(A1)? Or is it possible to write custom formula for this? How?
HDB
  • 735
  • 1
  • 5
  • 5
54
votes
3 answers

Google's "define: " through an API?

I want to get the result of searches that use special features in Google, like "define: [phrase]" and I can't seem to find relevant information about this. Does anyone knows where I can get the data in JSON format (like the rest of Google's APIs)…
Eli
  • 2,666
  • 7
  • 33
  • 37
50
votes
4 answers

Google Search from a Python App

I'm trying to run a google search query from a python app. Is there any python interface out there that would let me do this? If there isn't does anyone know which Google API will enable me to do this. Thanks.
Res
  • 509
  • 1
  • 5
  • 3
41
votes
4 answers

Is there a way to programmatically access Google's search engine results?

Does google offer a way to programmatically see their search engine results for a certain query? I want to build a tracking application so that a user can see what rank on the google results their website is for certain keywords. EDIT: The behavior…
Doug
  • 661
  • 2
  • 7
  • 6
26
votes
7 answers

Google custom search for images only

Since Google image search API is deprecated, one should use Google custom search API for this. I've made a small example using it. My problem is I want to return google image search results only. Whereby this shows web results, and the user may…
sibidiba
  • 6,270
  • 7
  • 40
  • 50
26
votes
9 answers

Scraping and parsing Google search results using Python

I asked a question on realizing a general idea to crawl and save webpages. Part of the original question is: how to crawl and save a lot of "About" pages from the Internet. With some further research, I got some choices to go ahead with both on…
Flake
  • 4,377
  • 6
  • 30
  • 29
24
votes
1 answer

Alternative to the deprecated google REST web search API

I have been using the Google Websearch API for over 1 year now. The service was deprecated in Nov 2010 but continues to provide results to date. More recently, google has started to enforce the 1,000 queries (?) per day limit on this deprecated…
Rohit Chopra
  • 2,791
  • 4
  • 28
  • 33
22
votes
2 answers

ModuleNotFoundError: No module named 'google.appengine'

I want to do a google search in python3 on windows. The google instructions say they support python3 and to type "gcloud topic init" for details - but that fails saying no interpreter for python2.7. Do I have to install python2.7 to find out how to…
22
votes
7 answers

Google Search Web Scraping with Python

I've been learning a lot of python lately to work on some projects at work. Currently I need to do some web scraping with google search results. I found several sites that demonstrated how to use ajax google api to search, however after attempting…
pbell
  • 265
  • 1
  • 4
  • 7
22
votes
2 answers

how to get ALL google search results using api

I need to get google search results for query. But using something like this $query = 'Nikita Platonenko'; $url = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=".urlencode($query); $body = file_get_contents($url); $json =…
user1279525
  • 539
  • 1
  • 6
  • 12
21
votes
4 answers

Appengine Search API vs Datastore

I am trying to decide whether I should use App-engine Search API or Datastore for an App-engine Connected Android Project. The only distinction that the google documentation makes is ... an index search can find no more than 10,000 matching…
18
votes
2 answers

Jersey rest client not adding query parameters

I'm trying to make a simple jersey rest client for google search api. Client client = ClientBuilder.newClient(); WebTarget target = client.target("https://www.googleapis.com/customsearch/v1"); target.queryParam("q", "mobile"); Response response =…
Alkis Kalogeris
  • 17,044
  • 15
  • 59
  • 113
1
2 3
42 43