A
A
avdoshka2021-11-25 16:32:16
Python
avdoshka, 2021-11-25 16:32:16

Why does it give an error when scanning geodata?

Good day to all
Why does it give an error when scanning geodata?
from geopy import GoogleV3

place = "Red Square, Moscow"
location = GoogleV3(api_key="PASTE HERE YOUR API KEY", domain="maps.google.ru").geocode(place)

print(location.address)

print(location .latitude, location.longitude)
geopy.exc.GeocoderQueryError: Your request was denied.
I enter my Google Maps api how to fix this error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-11-25
@avdoshka

Is this the geocoding API? It should be paid (if I'm not mistaken), is there a balance?
https://developers.google.com/maps/documentation/g...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question