geocoder
geocoder copied to clipboard
Out of date quota behaviors for Google API
The Google geocoding method seems to have a limit set at 2500 API calls. Presumably this is in order to enforce Google's old 2500 QPD limit. Seeing as that limit has since been removed, it seems the library should be updated to stay up to date by removing its enforcement of that limit.
Yeah, I also met the same problem. Hope it fixed soon!
Google now requires an API key and enabled billing for each project. link
Extend the range of 'key' parameter values to accept manual input for API keys, then commit.
Hi there, i think the module already provide this feature. In the file "keys.py" it's trying to pull from the environment the folling vars:
google_key = os.environ.get('GOOGLE_API_KEY') google_client = os.environ.get('GOOGLE_CLIENT') google_client_secret = os.environ.get('GOOGLE_CLIENT_SECRET')
arcgis can be finished.
import geocoder g = geocoder.arcgis('San Francisco, CA') print g.latlng
[37.777120000000025, -122.41963999999996] [Finished in 2.1s]