a portion of the data returned from https://api.tfl.gov.uk/Line/jubilee/Arrivals
{
“$type”: “Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities”,
“id”: “-392134729”,
“operationType”: 1,
“vehicleId”: “331”,
“naptanId”: “940GZZLUBND”,
“stationName”: “Bond Street Underground Station”,
“lineId”: “jubilee”,
“lineName”: “Jubilee”,
“platformName”: “Southbound - Platform 4”,
“direction”: “outbound”,
“bearing”: “”,
“destinationNaptanId”: “940GZZLUNGW”,
“destinationName”: “North Greenwich Underground Station”,
“timestamp”: “2017-08-23T14:49:44Z”,
“timeToStation”: 1604,
“currentLocation”: “Between Kingsbury and Wembley Park”,
“towards”: “North Greenwich”,
“expectedArrival”: “2017-08-23T15:16:28Z”,
“timeToLive”: “2017-08-23T15:16:28Z”,
“modeName”: “tube”,
“timing”: {
“$type”: “Tfl.Api.Presentation.Entities.PredictionTiming, Tfl.Api.Presentation.Entities”,
“countdownServerAdjustment”: “00:00:00”,
“source”: “0001-01-01T00:00:00”,
“insert”: “0001-01-01T00:00:00”,
“read”: “2017-08-23T14:49:32.952Z”,
“sent”: “2017-08-23T14:49:44Z”,
“received”: “0001-01-01T00:00:00”
}
}
// What is this?
“$type”: “Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities”
//Likewise with these 2. What are they and what use?
“id”: “-392134729”
“operationType”: 1
//direction “outbound” means nothing. Jubilee Line runs North/West and South/East. Not outbound. So why not show ‘Northbound’ instead as that is more useful.
“direction”: “outbound”,
//what is the use of this empty field
“bearing”: “”,
**edited post as not as angry as was when first posted