title: Send request to Google input tools in python
body: <p>I want to send some (about 200k) request to <code>Google Input API</code> and display results. For example I want to send <code>deep</code> and it must return:</p>
  
  <pre><code>["deep","dépenses","dépend","dépendance","dépendant"]
  </code></pre>
  
  <p>I tried following script but it's not helpful:</p>
  
  <pre><code>def request(word):
      url = 'https://inputtools.google.com/request?text=' + word + '&amp;itc=fr-t-i0-und&amp;num=5&amp;cp=0&amp;cs=1&amp;ie=utf-8&amp;oe=utf-8&amp;app=test'
      conn = http.client.HTTPConnection(url)
      res = conn.getresponse()
      print(res.status, res.reason)
  </code></pre>
  
  <p>I want to know how can achieve that? (see an example of what I want to achieve <a href="https://inputtools.google.com/request?text=deep&amp;itc=fr-t-i0-und&amp;num=5&amp;cp=0&amp;cs=1&amp;ie=utf-8&amp;oe=utf-8&amp;app=test" rel="nofollow noreferrer">here</a>)</p>