title: Python Client for Google Maps Services's Places couldn't pass Page_Token
body: <p>I'm trying out Python Client for Google Maps Services to pull a list of places using Places API.</p>
  
  <p>Here is the GitHub page: <a href="https://github.com/googlemaps/google-maps-services-python" rel="nofollow">https://github.com/googlemaps/google-maps-services-python</a>
  Here is the documentation page: <a href="https://googlemaps.github.io/google-maps-services-python/docs/2.4.4/#module-googlemaps.exceptions" rel="nofollow">https://googlemaps.github.io/google-maps-services-python/docs/2.4.4/#module-googlemaps.exceptions</a></p>
  
  <p>In the .places def, I need to enter page_token in string format in order to get next 10 listings. When I run the codes below, it kept showing me INVALID_REQUEST</p>
  
  <p>Here is my code:</p>
  
  <pre><code>places_result = gmaps.places(query="hotels in Singapore", page_token='')
  for result in places_result['results']:
      print(result['name'])
  try :
  places_result = gmaps.places(query="hotels in Singapore", page_token=places_result['next_page_token'])
  except ApiError as e:
      print(e)
  else:
      for result in places_result['results']:
      print(result['name'])
  </code></pre>