DenisCarriere / geocoder

:earth_asia: Python Geocoder
http://geocoder.readthedocs.org
MIT License
1.62k stars 286 forks source link

Google Provider returns "None" #461

Open vihaanmody1 opened 1 year ago

vihaanmody1 commented 1 year ago

Google Provider returns "None" I run the following.

>>> import geocoder
>>> g = geocoder.google('Mountain View, CA')
>>> g.latlng
None

Please help me get the results.

MariaKilsved commented 8 months ago

Also having this issue.

import geocoder
g = geocoder.ip('me')
location = geocoder.google(g.latlng, method='reverse')
print(location.city)
print(location.country)

Both prints None.