Skip to content

Instantly share code, notes, and snippets.

@tomasstana
Last active April 26, 2017 07:47
Show Gist options
  • Save tomasstana/4ed9ec9fb3c761003978d526eaba5fdd to your computer and use it in GitHub Desktop.
Save tomasstana/4ed9ec9fb3c761003978d526eaba5fdd to your computer and use it in GitHub Desktop.
Sygic Maps Routing API
{
"routes": [
{
"route": "mpsdHodpgBY[sCkCq@q@s@s@qEgEaE{DeCaCc@c@gCcC{CwCa@O}AwAe@FIDs@`@k@XeF`EiAv@iDzByDrCoDpBqAHo@@Y?oAGg@CwAy@i@}Bg@yB_@kAa@wBE[eAt@y@l@u@h@cBhA",
"eta": 1464691807,
"duration": {
"value": 180,
"text": "0 hours 3 minutes 0 seconds"
},
"distance": {
"value": 2005,
"text": "2.01 km"
},
"legs": [
{
"distance": {
"value": 1564,
"text": "1.56 km"
},
"duration": {
"value": 131,
"text": "0 hours 2 minutes 11 seconds"
},
"start_location": {
"latitude": 48.11031,
"longitude": 17.12728
},
"end_location": {
"latitude": 48.12274,
"longitude": 17.12977
}
},
{
"distance": {
"value": 441,
"text": "0.44 km"
},
"duration": {
"value": 49,
"text": "0 hours 0 minutes 49 seconds"
},
"start_location": {
"latitude": 48.12274,
"longitude": 17.12977
},
"end_location": {
"latitude": 48.12556,
"longitude": 17.13136
}
}
]
}
],
"status": "OK",
"copyright": "@ 2017 Sygic a.s."
}
{
"results": [
{
"location": {
"country": "Germany",
"city": "Berlin",
"suburb": "Berlin",
"street": "Bernauer Straße",
"house_number": "12",
"zip": "13355",
"admin_level_1": "Berlin"
},
"geometry": {
"lat": 52.53686,
"lon": 13.39268
},
"confidence": 1
}
],
"status": "OK",
"copyright": "© 2017 Sygic a.s."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment