Created
November 6, 2014 21:06
-
-
Save etexier/bdf5c7d373849050a7fc to your computer and use it in GitHub Desktop.
REST Google Distance example with shorten JSON response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+Name googleDistance | |
+Request | |
http://maps.googleapis.com/maps/api/distancematrix/json?origins=435+Tasso+Street+Palo+Alto+CA&destinations=Embarcadero+Street+San+Francisco+CA&sensor=false&mode=driving&language=en&units=imperial | |
+Response | |
+Body | |
{ | |
"rows" : [ | |
{ | |
"elements" : [ | |
{ | |
"distance" : { | |
"text" : "33.1 mi", | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment