Skip to content

Instantly share code, notes, and snippets.

@nikhilkumarsingh
Created November 28, 2017 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikhilkumarsingh/6d91af731108fde2810899bd7b0ea8eb to your computer and use it in GitHub Desktop.
Save nikhilkumarsingh/6d91af731108fde2810899bd7b0ea8eb to your computer and use it in GitHub Desktop.
import requests
url = "http://suggestqueries.google.com/complete/search"
params = {
"client": "firefox",
"q": "ind",
"hl": "en"
}
r = requests.get(url, params = params)
print(r.json()[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment