python-google-places icon indicating copy to clipboard operation
python-google-places copied to clipboard

geocode_location doesn't send api key during a request?

Open markusdnx opened this issue 8 years ago • 2 comments

It seems to me that the geocode_location function doesn't send the api key during a request.

Please check,

Markus

markusdnx avatar Apr 08 '16 08:04 markusdnx

It definitely doesn't, but there is a 2,500/day query limit that google imposes on a per-IP basis when no api key is provided, so its hard to notice.

The key is normally provided by self._add_required_param_keys() for GET requests and formatted into the url for POST requests, so it seems like geocode_location should be a method in the GooglePlaces class, not global.

jonathan-golorry avatar Jan 10 '17 05:01 jonathan-golorry

https://github.com/slimkrazy/python-google-places/pull/100

slimkrazy avatar Jul 22 '17 19:07 slimkrazy