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

You have exceeded your request quota for this API #88

Closed
112617 opened this issue Sep 12, 2018 · 4 comments
Closed

You have exceeded your request quota for this API #88

112617 opened this issue Sep 12, 2018 · 4 comments

Comments

@112617
Copy link

112617 commented Sep 12, 2018

I can use this code before, but I got trouble with "Google Maps JavaScript API warning: NoApiKey" these days because Google changed their policy. How can I fix this? / Where shall I correct?

@vgm64
Copy link
Collaborator

vgm64 commented Sep 12, 2018

You can pass an apikey to GoogleMapPlotter when you create the object. You should be able to sign up at developers.google.com.

@112617
Copy link
Author

112617 commented Sep 13, 2018

You can pass an apikey to GoogleMapPlotter when you create the object. You should be able to sign up at developers.google.com.

Thanks ! I'll have a try :)

@hlongmore
Copy link

You can pass the apikey in, but the API url used for geocode and thus also from_geocode does not make use of the apikey:

        geocode = requests.get(
            'http://maps.googleapis.com/maps/api/geocode/json?address="%s"' % location_string)

@frslm
Copy link
Contributor

frslm commented Apr 20, 2020

Fixed in #111.

@frslm frslm closed this as completed Apr 20, 2020
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

4 participants