geocoder icon indicating copy to clipboard operation
geocoder copied to clipboard

Out of date quota behaviors for Google API

Open Samcfuchs opened this issue 6 years ago • 4 comments

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.

Samcfuchs avatar Oct 12 '18 22:10 Samcfuchs

Yeah, I also met the same problem. Hope it fixed soon!

JiayueShi avatar Oct 16 '18 20:10 JiayueShi

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.

newfrontier1 avatar Oct 17 '18 16:10 newfrontier1

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')

avallbona avatar Nov 29 '18 12:11 avallbona

arcgis can be finished.

import geocoder g = geocoder.arcgis('San Francisco, CA') print g.latlng

[37.777120000000025, -122.41963999999996] [Finished in 2.1s]

iostreamatlab avatar Dec 30 '18 14:12 iostreamatlab