title: Google Places API : OVER_QUERY_LIMIT issue is intermittent
body: <p>I know this question has been asked before but mine is slightly different from other threads.</p>
  
  <p>I've written a python script to read random addresses and to return their place ID. This is what my excel file looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/jnmov.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jnmov.png" alt="enter image description here"></a></p>
  
  <p>This is my code:</p>
  
  <pre><code>from googleplaces import GooglePlaces
  import pandas as pd
  import time
  import xlrd
  YOUR_API_KEY = &lt;my_key&gt;
  
  google_places = GooglePlaces(YOUR_API_KEY)
  loc = r"C:\Users\user\Desktop\test.xlsx"
  
  wb = xlrd.open_workbook(loc)
  sheet = wb.sheet_by_index(0)
  
  for i in range(1,sheet.nrows):
      read_address = sheet.cell_value(i,0)
      query_result = google_places.text_search(
          query=''+read_address)
      for place in query_result.places:
          print(place.name)
          print(place.place_id)
  </code></pre>
  
  <p>Console Output:</p>
  
  <pre><code>C:\Users\csjeemah\PycharmProjects\googleplaces\venv\Scripts\python.exe C:/Users/csjeemah/PycharmProjects/googleplaces/googleplaceID.py
  777 Brockton Ave
  ChIJmf-3TW6b5IkR1rx0eohvqPQ
  30 Memorial Dr
  ChIJXa_KpmGD5IkRYtpt2IsXmqg
  Traceback (most recent call last):
    File "C:/Users/csjeemah/PycharmProjects/googleplaces/googleplaceID.py", line 27, in &lt;module&gt;
      query_result = google_places.text_search(
    File "C:\Users\csjeemah\PycharmProjects\googleplaces\venv\lib\site-packages\googleplaces\__init__.py", line 353, in text_search
      _validate_response(url, places_response)
    File "C:\Users\csjeemah\PycharmProjects\googleplaces\venv\lib\site-packages\googleplaces\__init__.py", line 175, in _validate_response
      raise GooglePlacesError(error_detail)
  googleplaces.GooglePlacesError: Request to URL https://maps.googleapis.com/maps/api/place/textsearch/json?query=250+Hartford+Avenue%2C+Bellingham+MA+2019&amp;radius=3200&amp;language=en&amp;key=mykey&amp;sensor=false failed with response code: OVER_QUERY_LIMIT
  </code></pre>
  
  <p>In the console screenshot above, it's returning the results for the first 2 addresses and then the error occurs.Now I understand the the reason I'm getting this error is due to a limit on the amount of requests I can make but as you can see from the image above:</p>
  
  <ol>
  <li>there are only 9 addresses.</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/ONDSR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ONDSR.png" alt="enter image description here"></a></p>
  
  <ol start="2">
  <li>If I shorten a few of the addresses like those highlighted below:</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/uwAak.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uwAak.png" alt="enter image description here"></a></p>
  
  <p>It now retrieves more of the addresses before it fails:</p>
  
  <pre><code>C:\Users\csjeemah\PycharmProjects\googleplaces\venv\Scripts\python.exe C:/Users/csjeemah/PycharmProjects/googleplaces/googleplaceID.py
  777 Brockton Ave
  ChIJmf-3TW6b5IkR1rx0eohvqPQ
  30 Memorial Dr
  ChIJt_pwFGsUc2sR-ve6pnT9DlA
  30 Memorial Dr
  ChIJJatf08pZIWsRr2u-ppt2CyI
  250 Hartford Ave
  ChIJk567q-Jx5IkRGxbCzkmYU7A
  Traceback (most recent call last):
    File "C:/Users/csjeemah/PycharmProjects/googleplaces/googleplaceID.py", line 27, in &lt;module&gt;
      query_result = google_places.text_search(
    File "C:\Users\csjeemah\PycharmProjects\googleplaces\venv\lib\site-packages\googleplaces\__init__.py", line 353, in text_search
      _validate_response(url, places_response)
    File "C:\Users\csjeemah\PycharmProjects\googleplaces\venv\lib\site-packages\googleplaces\__init__.py", line 175, in _validate_response
      raise GooglePlacesError(error_detail)
  googleplaces.GooglePlacesError: Request to URL https://maps.googleapis.com/maps/api/place/textsearch/json?query=700+Oak+Street&amp;radius=3200&amp;language=en&amp;key=mykey&amp;sensor=false failed with response code: OVER_QUERY_LIMIT
  </code></pre>
  
  <p>I've also tried to add a sleep for a few seconds after each query but it fails, could anyone tell me what the issue is?</p>