Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forced to use Unrestricted Google API Key #52

Open
jvenki opened this issue Dec 3, 2017 · 0 comments
Open

Forced to use Unrestricted Google API Key #52

jvenki opened this issue Dec 3, 2017 · 0 comments

Comments

@jvenki
Copy link

jvenki commented Dec 3, 2017

Hi,

This is a great library and I really like to use this as the methods are very intuitive. However, the geocode method makes a Google Geocoding API call. Google has enforced that a web-api call should use IP Address Restricted Key (Server Key) - https://developers.google.com/maps/faq#switch-key-type. However, my requirement and that of this library's is to make the call from browser and therefore IP Address restricted key will not work.

Google has Javascript API for Geocoding which makes use of HTTP Referrer restriction. Instead of calling the WebAPI, I think we should call the Javascript API of Google's.

Either I am doing something wrong as everybody using this library will be facing the issue or consumers of this library are just using a unrestricted key. Can you please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant