Skip to content

Instantly share code, notes, and snippets.

@jbu
Created May 18, 2017 15:28
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 jbu/eae095c195b82ef22e9efb25f06227a8 to your computer and use it in GitHub Desktop.
Save jbu/eae095c195b82ef22e9efb25f06227a8 to your computer and use it in GitHub Desktop.
tfl
[{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-1437944078","operationType":1,"vehicleId":"204","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":1410,"currentLocation":"North of Queen's Park","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:50:36Z","timeToLive":"2017-05-18T15:50:36Z","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-05-18T15:26:44.691Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"253952329","operationType":1,"vehicleId":"205","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":1350,"currentLocation":"At Queen's Park Platform 2","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:49:36Z","timeToLive":"2017-05-18T15:49:36Z","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-05-18T15:26:44.676Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"389799736","operationType":1,"vehicleId":"222","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":180,"currentLocation":"Approaching Charing Cross","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:30:06Z","timeToLive":"2017-05-18T15:30:06Z","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-05-18T15:26:44.629Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-1435191566","operationType":1,"vehicleId":"224","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":1530,"currentLocation":"Queen's Park North Sidings","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:52:36Z","timeToLive":"2017-05-18T15:52:36Z","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-05-18T15:26:44.738Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"254673225","operationType":1,"vehicleId":"235","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":750,"currentLocation":"Approaching Edgware Road","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:39:36Z","timeToLive":"2017-05-18T15:39:36Z","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-05-18T15:26:44.645Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"1820757420","operationType":1,"vehicleId":"236","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":990,"currentLocation":"At Warwick Avenue Platform 2","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:43:36Z","timeToLive":"2017-05-18T15:43:36Z","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-05-18T15:26:44.66Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-1303554907","operationType":1,"vehicleId":"241","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":390,"currentLocation":"At Oxford Circus Platform 3","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:33:36Z","timeToLive":"2017-05-18T15:33:36Z","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-05-18T15:26:44.629Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"1820822956","operationType":1,"vehicleId":"246","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":90,"currentLocation":"At Embankment Platform 6","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:28:36Z","timeToLive":"2017-05-18T15:28:36Z","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-05-18T15:26:44.613Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment