↓ Output (cached 60s)
<?php
require("OpenLDBSVWS.php");
date_default_timezone_set("Europe/London");
$OpenLDBSVWS = new OpenLDBSVWS("YOUR_ACCESS_TOKEN");
$response = $OpenLDBSVWS->GetDepartureBoardByCRS(10,"PAD",date("H:i:s",time()),120);
header("Content-Type: text/plain");
print_r($response);
?>
stdClass Object
(
[GetBoardResult] => stdClass Object
(
[generatedAt] => 2025-07-02T04:33:33.8938063+01:00
[locationName] => London Paddington
[crs] => PAD
[stationManager] => Network Rail
[stationManagerCode] => RT
[isTruncated] => 1
[trainServices] => stdClass Object
(
[service] => Array
(
[0] => stdClass Object
(
[rid] => 202507026708262
[uid] => C08262
[trainid] => 1T22
[rsid] => HX010000
[sdd] => 2025-07-02
[operator] => Heathrow Express
[operatorCode] => HX
[std] => 2025-07-02T04:34:00
[etd] => 2025-07-02T04:34:00
[departureType] => Forecast
[departureSource] => Darwin
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T5
[crs] => HWV
[tiploc] => HTRWTM5
)
)
)
[category] => XX
[activities] => TB
)
[1] => stdClass Object
(
[rid] => 202507028006899
[uid] => P06899
[trainid] => 9T02
[rsid] => XR215800
[sdd] => 2025-07-02
[operator] => Elizabeth Line
[operatorCode] => XR
[std] => 2025-07-02T04:36:00
[etd] => 2025-07-02T04:36:00
[departureType] => Forecast
[departureSource] => TD
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T5
[crs] => HWV
[tiploc] => HTRWTM5
)
)
)
[category] => OO
[activities] => TB
)
[2] => stdClass Object
(
[rid] => 202507028006493
[uid] => P06493
[trainid] => 9H04
[rsid] => XR200700
[sdd] => 2025-07-02
[operator] => Elizabeth Line
[operatorCode] => XR
[std] => 2025-07-02T04:40:00
[etd] => 2025-07-02T04:40:00
[departureType] => Forecast
[departureSource] => TD
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T4
[crs] => HAF
[tiploc] => HTRWTM4
)
)
)
[category] => OO
[activities] => TB
)
[3] => stdClass Object
(
[rid] => 202507026700140
[uid] => C00140
[trainid] => 1T23
[rsid] => HX010000
[sdd] => 2025-07-02
[operator] => Heathrow Express
[operatorCode] => HX
[std] => 2025-07-02T04:51:00
[etd] => 2025-07-02T04:51:00
[departureType] => Forecast
[departureSource] => TD
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T5
[crs] => HWV
[tiploc] => HTRWTM5
)
)
)
[category] => XX
[activities] => TB
)
[4] => stdClass Object
(
[rid] => 202507028006499
[uid] => P06499
[trainid] => 9H06
[rsid] => XR200900
[sdd] => 2025-07-02
[operator] => Elizabeth Line
[operatorCode] => XR
[std] => 2025-07-02T04:53:00
[etd] => 2025-07-02T04:53:00
[departureType] => Forecast
[departureSource] => Darwin
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T4
[crs] => HAF
[tiploc] => HTRWTM4
)
)
)
[category] => OO
[activities] => TB
)
[5] => stdClass Object
(
[rid] => 202507028006910
[uid] => P06910
[trainid] => 9T08
[rsid] => XR216200
[sdd] => 2025-07-02
[operator] => Elizabeth Line
[operatorCode] => XR
[std] => 2025-07-02T05:03:00
[etd] => 2025-07-02T05:03:00
[departureType] => Forecast
[departureSource] => Darwin
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T5
[crs] => HWV
[tiploc] => HTRWTM5
)
)
)
[category] => OO
[activities] => TB
)
[6] => stdClass Object
(
[rid] => 202507028008346
[uid] => P08346
[trainid] => 1D10
[rsid] => GW730100
[sdd] => 2025-07-02
[operator] => Great Western Railway
[operatorCode] => GW
[std] => 2025-07-02T05:05:00
[etd] => 2025-07-02T05:05:00
[departureType] => Forecast
[departureSource] => Darwin
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Oxford
[crs] => OXF
[tiploc] => OXFD
)
)
)
[category] => XX
[activities] => TB
)
[7] => stdClass Object
(
[rid] => 202507028917438
[uid] => Y17438
[trainid] => 1T24
[rsid] => HX010000
[sdd] => 2025-07-02
[operator] => Heathrow Express
[operatorCode] => HX
[std] => 2025-07-02T05:10:00
[etd] => 2025-07-02T05:10:00
[departureType] => Forecast
[departureSource] => Darwin
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Heathrow Airport T5
[crs] => HWV
[tiploc] => HTRWTM5
)
)
)
[category] => XX
[activities] => TB
)
[8] => stdClass Object
(
[rid] => 202507028006788
[uid] => P06788
[trainid] => 9R10
[sdd] => 2025-07-02
[operator] => Elizabeth Line
[operatorCode] => XR
[std] => 2025-07-02T05:18:00
[etd] => 2025-07-02T05:18:00
[departureType] => Forecast
[departureSource] => Darwin
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Reading
[crs] => RDG
[tiploc] => RDNGSTN
)
)
)
[category] => OO
[activities] => TB
)
[9] => stdClass Object
(
[rid] => 202507028008268
[uid] => P08268
[trainid] => 1C00
[sdd] => 2025-07-02
[operator] => Great Western Railway
[operatorCode] => GW
[std] => 2025-07-02T05:23:00
[etd] => 2025-07-02T05:23:00
[departureType] => Forecast
[departureSource] => TD
[platformIsHidden] => 1
[origin] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => London Paddington
[crs] => PAD
[tiploc] => PADTON
)
)
)
[destination] => stdClass Object
(
[location] => Array
(
[0] => stdClass Object
(
[locationName] => Swansea
[crs] => SWA
[tiploc] => SWANSEA
)
)
)
[category] => XX
[activities] => TB
)
)
)
)
)