RIPE-NCC / ripe-atlas-tools

Official command-line client for RIPE Atlas
GNU General Public License v3.0
183 stars 48 forks source link

probe_search --location doesn't work #211

Closed chrisamin closed 2 years ago

chrisamin commented 5 years ago
$ ripe-atlas probe-search --location "Paris, France"

Following error occured while trying to fetch lat/lonfor location <Paris, France>:
list index out of range

Seems to be caused by google's geo service requiring an API key:

https://developers.google.com/maps/billing/important-updates

$ curl "http://maps.googleapis.com/maps/api/geocode/json?address=Paris&sensor=false"
{
   "error_message" : "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account",                            
   "results" : [],
   "status" : "REQUEST_DENIED"
}
chrisamin commented 2 years ago

Fixed in v3.0.0 with optional Geocoding API key support