I just trying to get and autocomplete suggestions by the python package google-map-services-python. Everything works fine, except when I add the types parameter on my statement:
gmaps.places_autocomplete('new', session_token=my_token, language='de', types='cities')
I've checked the documentation and they said that the types param is an String parameter... but seems that I'm doing something wrong... It only works when I remove the types param and I need to only get suggestions by cities.
gmaps.places_autocomplete('new', session_token=my_token, language='de')