using PyCall using PyPlot @pyimport googlemaps apikey="AIza..." gmaps = googlemaps.Client(key=apikey) locations=["San Francisco", "Sydney", "Tokyo", "Moscow", "Buenos Aires", "Cape Town"] x=[] y=[] for i=1:length(locations) result = gmaps[:geocode](locations[i]) x=append!(x,[result[1]["geometry"]["location"]["lng"]]) y=append!(y,[result[1]["geometry"]["location"]["lat"]]) text(x[i],y[i], locations[i]) end plot(x,y, "-",ms=5.0,lw=0.5) plot(x,y, ".",ms=10.0) xlabel("longitude") ylabel("latitude") xlim([-180,180]) ylim([-90,90]) sleep(60)