↓ 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-08-30T23:09:59.9069956+01:00
            [locationName] => London Paddington
            [crs] => PAD
            [stationManager] => Network Rail
            [stationManagerCode] => RT
            [nrccMessages] => stdClass Object
                (
                    [message] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [category] => Train service
                                    [severity] => Minor
                                    [xhtmlMessage] => 
Trains running between London Paddington and Whitechapel may be cancelled or delayed by up to 40 minutes. Latest information can be found in <a href="https://www.nationalrail.co.uk/service-disruptions/bond-street-20250830/">Status and Disruptions</a>.
                                )

                        )

                )

            [isTruncated] => 1
            [trainServices] => stdClass Object
                (
                    [service] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [rid] => 202508307105931
                                    [uid] => G05931
                                    [trainid] => 2N80
                                    [sdd] => 2025-08-30
                                    [operator] => Great Western Railway
                                    [operatorCode] => GW
                                    [std] => 2025-08-30T23:08:00
                                    [atd] => 2025-08-30T23:08:31
                                    [departureType] => Actual
                                    [departureSource] => TD
                                    [platform] => 8
                                    [platformIsHidden] => 1
                                    [serviceIsSupressed] => 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] => Didcot Parkway
                                                            [crs] => DID
                                                            [tiploc] => DIDCOTP
                                                        )

                                                )

                                        )

                                    [category] => OO
                                    [activities] => TB
                                )

                            [1] => stdClass Object
                                (
                                    [rid] => 202508308006972
                                    [uid] => P06972
                                    [trainid] => 9T58
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [isCancelled] => 1
                                    [std] => 2025-08-30T23:08:00
                                    [platform] => B
                                    [formation] => stdClass Object
                                        (
                                            [avgLoading] => 47
                                            [source] => 
                                            [sourceInstance] => 
                                        )

                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Abbey Wood
                                                            [crs] => ABW
                                                            [tiploc] => ABWDXR
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Heathrow Airport T5
                                                            [crs] => HWV
                                                            [tiploc] => HTRWTM5
                                                        )

                                                )

                                        )

                                    [currentOrigins] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                            [tiploc] => PADTON
                                                        )

                                                )

                                        )

                                    [cancelReason] => stdClass Object
                                        (
                                            [_] => 535
                                            [tiploc] => 
                                            [near] => 
                                        )

                                    [category] => OO
                                    [activities] => T 
                                )

                            [2] => stdClass Object
                                (
                                    [rid] => 202508308006972
                                    [uid] => P06972
                                    [trainid] => 9T58
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [std] => 2025-08-30T23:09:00
                                    [etd] => 2025-08-30T23:09:00
                                    [departureType] => Forecast
                                    [departureSource] => Darwin
                                    [platform] => 11
                                    [platformIsHidden] => 1
                                    [serviceIsSupressed] => 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
                                )

                            [3] => stdClass Object
                                (
                                    [rid] => 202508306722935
                                    [uid] => C22935
                                    [trainid] => 1T96
                                    [sdd] => 2025-08-30
                                    [operator] => Heathrow Express
                                    [operatorCode] => HX
                                    [std] => 2025-08-30T23:10:00
                                    [etd] => 2025-08-30T23:10:00
                                    [departureType] => Forecast
                                    [departureSource] => TD
                                    [platform] => 6
                                    [platformIsHidden] => 1
                                    [serviceIsSupressed] => 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] => 202508308007622
                                    [uid] => P07622
                                    [trainid] => 9W48
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [isCancelled] => 1
                                    [std] => 2025-08-30T23:12:00
                                    [platform] => A
                                    [formation] => stdClass Object
                                        (
                                            [avgLoading] => 5
                                            [source] => 
                                            [sourceInstance] => 
                                        )

                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                            [tiploc] => PADTLL
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Shenfield
                                                            [crs] => SNF
                                                            [tiploc] => SHENFLD
                                                        )

                                                )

                                        )

                                    [cancelReason] => stdClass Object
                                        (
                                            [_] => 538
                                            [tiploc] => 
                                            [near] => 
                                        )

                                    [category] => OO
                                    [activities] => TB
                                )

                            [5] => stdClass Object
                                (
                                    [rid] => 202508308007230
                                    [uid] => P07230
                                    [trainid] => 9U49
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [std] => 2025-08-30T23:17:00
                                    [etd] => 2025-08-30T23:17:00
                                    [departureType] => Forecast
                                    [departureSource] => Darwin
                                    [platform] => A
                                    [formation] => stdClass Object
                                        (
                                            [avgLoading] => 5
                                            [source] => 
                                            [sourceInstance] => 
                                        )

                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                            [tiploc] => PADTLL
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Abbey Wood
                                                            [crs] => ABW
                                                            [tiploc] => ABWDXR
                                                        )

                                                )

                                        )

                                    [category] => OO
                                    [activities] => TB
                                )

                            [6] => stdClass Object
                                (
                                    [rid] => 202508308006743
                                    [uid] => P06743
                                    [trainid] => 9N60
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [sta] => 2025-08-30T23:15:00
                                    [eta] => 2025-08-30T23:15:00
                                    [arrivalType] => Forecast
                                    [std] => 2025-08-30T23:18:00
                                    [etd] => 2025-08-30T23:18:00
                                    [departureType] => Forecast
                                    [departureSource] => Darwin
                                    [platform] => B
                                    [formation] => stdClass Object
                                        (
                                            [avgLoading] => 51
                                            [coaches] => stdClass Object
                                                (
                                                    [coach] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 1
                                                                )

                                                            [1] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 2
                                                                )

                                                            [2] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 3
                                                                )

                                                            [3] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 4
                                                                )

                                                            [4] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 5
                                                                )

                                                            [5] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 6
                                                                )

                                                            [6] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 7
                                                                )

                                                            [7] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 8
                                                                )

                                                            [8] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 9
                                                                )

                                                        )

                                                )

                                            [source] => C
                                            [sourceInstance] => at55
                                        )

                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Abbey Wood
                                                            [crs] => ABW
                                                            [tiploc] => ABWDXR
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Maidenhead
                                                            [crs] => MAI
                                                            [tiploc] => MDNHEAD
                                                        )

                                                )

                                        )

                                    [category] => OO
                                    [activities] => T 
                                )

                            [7] => stdClass Object
                                (
                                    [rid] => 202508308007630
                                    [uid] => P07630
                                    [trainid] => 9W50
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [sta] => 2025-08-30T23:19:00
                                    [eta] => 2025-08-30T23:38:12
                                    [arrivalType] => Forecast
                                    [std] => 2025-08-30T23:22:00
                                    [etd] => 2025-08-30T23:39:12
                                    [departureType] => Forecast
                                    [departureSource] => Darwin
                                    [platform] => A
                                    [formation] => stdClass Object
                                        (
                                            [avgLoading] => 24
                                            [coaches] => stdClass Object
                                                (
                                                    [coach] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 1
                                                                )

                                                            [1] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 2
                                                                )

                                                            [2] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 3
                                                                )

                                                            [3] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 4
                                                                )

                                                            [4] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 5
                                                                )

                                                            [5] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 6
                                                                )

                                                            [6] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 7
                                                                )

                                                            [7] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 8
                                                                )

                                                            [8] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 9
                                                                )

                                                        )

                                                )

                                            [source] => C
                                            [sourceInstance] => at55
                                        )

                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Heathrow Airport T4
                                                            [crs] => HAF
                                                            [tiploc] => HTRWTM4
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Shenfield
                                                            [crs] => SNF
                                                            [tiploc] => SHENFLD
                                                        )

                                                )

                                        )

                                    [category] => OO
                                    [activities] => T 
                                )

                            [8] => stdClass Object
                                (
                                    [rid] => 202508308006621
                                    [uid] => P06621
                                    [trainid] => 9H61
                                    [sdd] => 2025-08-30
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [sta] => 2025-08-30T23:22:00
                                    [eta] => 2025-08-30T23:22:00
                                    [arrivalType] => Forecast
                                    [std] => 2025-08-30T23:23:00
                                    [etd] => 2025-08-30T23:23:00
                                    [departureType] => Forecast
                                    [departureSource] => Darwin
                                    [platform] => B
                                    [formation] => stdClass Object
                                        (
                                            [avgLoading] => 27
                                            [coaches] => stdClass Object
                                                (
                                                    [coach] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 1
                                                                )

                                                            [1] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 2
                                                                )

                                                            [2] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 3
                                                                )

                                                            [3] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 4
                                                                )

                                                            [4] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 5
                                                                )

                                                            [5] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 6
                                                                )

                                                            [6] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 7
                                                                )

                                                            [7] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 8
                                                                )

                                                            [8] => stdClass Object
                                                                (
                                                                    [coachClass] => Standard
                                                                    [number] => 9
                                                                )

                                                        )

                                                )

                                            [source] => C
                                            [sourceInstance] => at55
                                        )

                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Shenfield
                                                            [crs] => SNF
                                                            [tiploc] => SHENFLD
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Heathrow Airport T4
                                                            [crs] => HAF
                                                            [tiploc] => HTRWTM4
                                                        )

                                                )

                                        )

                                    [category] => OO
                                    [activities] => T 
                                )

                            [9] => stdClass Object
                                (
                                    [rid] => 202508306722884
                                    [uid] => C22884
                                    [trainid] => 1T97
                                    [sdd] => 2025-08-30
                                    [operator] => Heathrow Express
                                    [operatorCode] => HX
                                    [std] => 2025-08-30T23:25:00
                                    [etd] => 2025-08-30T23:25:00
                                    [departureType] => Forecast
                                    [departureSource] => TD
                                    [platform] => 7
                                    [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
                                )

                        )

                )

        )

)