Skip to content

Instantly share code, notes, and snippets.

@afrigis
Last active September 21, 2015 12:45
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 afrigis/87883a854fc80acc23cd to your computer and use it in GitHub Desktop.
Save afrigis/87883a854fc80acc23cd to your computer and use it in GitHub Desktop.
gautrain_sample
{
"HostName": "196.35.231.47",
"HostAddr": "196.35.231.47",
"Host": "127.0.1.1",
"Timestamp": "Wed Mar 11 15:10:14 SAST 2015",
"Result": {
"busPositions": [{
"busId": "1034858",
"currsegment": 22,
"formattedLastModified": "Gautrain Bus\nLast Update:\n2015-03-11 15:09",
"heading": "11",
"lastModified": 1426079379233,
"latitude": -25.763335,
"longitude": 28.222046666666667,
"remainonsegment": 0.128545339657401,
"routecode": ""
},
{
"busId": "1034352",
"currsegment": 17,
"formattedLastModified": "Gautrain Bus\nLast Update:\n2015-03-11 15:09",
"heading": "17",
"lastModified": 1426079379233,
"latitude": -25.750918333333335,
"longitude": 28.195796666666666,
"remainonsegment": 0.187978213996995,
"routecode": ""
},
{
"busId": "1034111",
"currsegment": 22,
"formattedLastModified": "Gautrain Bus\nLast Update:\n2015-03-11 15:09",
"heading": "14",
"lastModified": 1426079344296,
"latitude": -25.856051666666666,
"longitude": 28.19378,
"remainonsegment": 0.3977524039066,
"routecode": ""
},
...
{
"busId": "1035169",
"currsegment": 21,
"formattedLastModified": "Gautrain Bus\nLast Update:\n2015-03-11 15:06",
"heading": "1",
"lastModified": 1426079204293,
"latitude": -25.959405,
"longitude": 28.132636666666667,
"remainonsegment": 0.809034275977505,
"routecode": ""
}],
"displayFields": ["formattedLastModified",
"busId"]
},
"ResponseTime": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment