0

I am trying to add autocomplete to a google custom search that that I have recently installed.

I managed to get the search to work by sending a request to googleapis.com/customsearch/v1 but now I am having trouble getting the autocomplete to work against the google custom search. I did enabled autocompletion on my custom search account, but I cannot find any APIs or ways for me to get a list of suggested words.

Is there any available API for autocomplete to suggest words within the custom search?

I did find this post, Google Custom Search API Autocomplete?, but I was unable to get it to work. Just wondering if there are any other suggestions or solutions.

Community
  • 1
  • 1
user614689
  • 13
  • 1
  • 4

2 Answers2

1

I know this is a long since abandoned question, but for anyone that is looking for this information, this stackoverflow answer shows that it isn't available. In addition, here's Google's blog post about removing the autocomplete API (from public, non-search use).

Community
  • 1
  • 1
Paul B.
  • 153
  • 2
  • 8
-1

You have to set the terms up in your CSE account in Google. So login to Google, go to Products - Custom Search Engines - Autocompletions. I, however, have had mine working in the past but it doesn't appear to be working now. A google search indicates others are having same issue of it not currently working ..just FYI based on quick attempt to correct my problem.