-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Forgive me if I am doing something wrong, this is just something I am playing around with however from the best of my knowledge something is broken with the train times response
the URL: http://api.perthtransit.com/1/train_stations/perth
Provides:
{"response":{"lat":"-31.9510907808","lng":"115.859925408","name":"Perth","times":[],"compact":false,"identifier":"perth"}}
Whilst I was expecting:
{
"response": {
"identifier": "perth",
"compact": false,
"lat": "-31.9510908",
"lng": "115.8599254",
"name": "Perth",
"times": [{
"cars": 4,
"line": "Midland",
"on_time": true,
"pattern": null,
"platform": 7,
"status": "On Time",
"time": "19:00"
}, {
"cars": 2,
"line": "Fremantle",
"on_time": true,
"pattern": "K",
"platform": 5,
"status": "On Time",
"time": "19:02"
}, {
"cars": 4,
"line": "Armadale",
"on_time": true,
"pattern": "C",
"platform": 6,
"status": "On Time",
"time": "19:02"
}]
}
}
Is the empty times array a result of some broken interface with transperth or is my query wrong?