Skip to content

Instantly share code, notes, and snippets.

@lene
Last active March 20, 2018 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lene/693f13d98d45d0c2402d16636c025148 to your computer and use it in GitHub Desktop.
Save lene/693f13d98d45d0c2402d16636c025148 to your computer and use it in GitHub Desktop.
HERE Intermodal Routing API response (shortened example)
{
"Res": {
"Connections": {
"Connection": [
{
"@duration": "PT2H3M33S",
"@transfers": "2",
"Sections": {
"Sec": [
{
"Dep": {
"@time": "2018-03-20T07:47:27",
"Addr": {
"@x": "-88.0815593", "@y": "41.5246995"
}
},
"Arr": {
"@time": "2018-03-20T08:28:54",
"Addr": {
"@x": "-87.6507079", "@y": "41.7211479",
"@name": "Metra 95th St. Longwood Station",
"At": [
{
"@id": "category",
"$": "parking"
},
{
"@id": "PnR",
"$": "1"
}
]
},
"Activities": {
"Act": [
{
"@duration": "PT5M",
"@type": "parking"
}
]
}
},
"Graph": "41.795175,-87.618325 41.795175,-87.618325 41.797036,-87.618361 ... 41.885705,-87.641778"
},
...
]
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment