Recently I noticed that googlemaps doesn't work any more. It could be due to an API change (I noticed that geopy doesn't work either).
>>> import googlemaps
>>> g = googlemaps.GoogleMaps()
>>> g.address_to_latlng('Mountain View, CA')
GoogleMapsError: Error 610: G_GEO_BAD_KEY
I did some googling and the correct API for geocoding (and similar services) seems to be the one documented at https://developers.google.com/maps/documentation/geocoding/ and an example of using it is http://maps.googleapis.com/maps/api/geocode/json?address=Mountain+View+CA&sensor=false®ion=us
I would try to cook up a patch myself, but frankly I don't feel like using SourceForge and SVN.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hi, I have the same problem.
See this (incomplete) patch:
https://sourceforge.net/tracker/?func=detail&aid=3613030&group_id=279370&atid=1185827
You're right, the V2 API is deprecated. Fortunately, pygeocoder has got you covered with V3:
https://pypi.python.org/pypi/pygeocoder