-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
The application at my work stopped working a couple of months ago.
I tested the API key using the URL request given by Google and it still works:
However, the following code in 2.7.9 returns a "Python Request Denied" error using the same address and API:
from geolocation.main import GoogleMaps
from geolocation.distance_matrix.client import DistanceMatrixApiClient
address = "1600 Amphitheatre Parkway, Mountain View, CA"
google_maps = GoogleMaps(api_key="API-KEY-HERE")
location = google_maps.search(location=address)
print location.all()
my_location = location.first()
print my_location.postal_code
Metadata
Metadata
Assignees
Labels
No labels