↓ Output (cached 60s)


<?php
  
require("OpenLDBWS.php");
  
$OpenLDBWS = new OpenLDBWS("YOUR_ACCESS_TOKEN");
  
$response $OpenLDBWS->GetDepartureBoard(10,"PAD");
  
header("Content-Type: text/plain");
  
print_r($response);
?>
stdClass Object
(
    [GetStationBoardResult] => stdClass Object
        (
            [generatedAt] => 2025-11-07T02:58:36.4818969+00:00
            [locationName] => London Paddington
            [crs] => PAD
            [nrccMessages] => stdClass Object
                (
                    [message] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [_] => 
The lifts are out of order between the Bakerloo line and the Elizabeth line at London Paddington station.
                                )

                        )

                )

            [platformAvailable] => 1
            [trainServices] => stdClass Object
                (
                    [service] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [std] => 03:35
                                    [etd] => On time
                                    [operator] => Great Western Railway
                                    [operatorCode] => GW
                                    [serviceType] => train
                                    [serviceID] => 2337330PADTON__
                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                        )

                                                )

                                        )

                                    [destination] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => Reading
                                                            [crs] => RDG
                                                        )

                                                )

                                        )

                                )

                            [1] => stdClass Object
                                (
                                    [std] => 04:34
                                    [etd] => On time
                                    [operator] => Heathrow Express
                                    [operatorCode] => HX
                                    [serviceType] => train
                                    [serviceID] => 2336752PADTON__
                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                        )

                                                )

                                        )

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

                                                )

                                        )

                                )

                            [2] => stdClass Object
                                (
                                    [std] => 04:36
                                    [etd] => On time
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [serviceType] => train
                                    [serviceID] => 2341484PADTON__
                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                        )

                                                )

                                        )

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

                                                )

                                        )

                                )

                            [3] => stdClass Object
                                (
                                    [std] => 04:40
                                    [etd] => On time
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [serviceType] => train
                                    [serviceID] => 2343415PADTON__
                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                        )

                                                )

                                        )

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

                                                )

                                        )

                                )

                            [4] => stdClass Object
                                (
                                    [std] => 04:51
                                    [etd] => On time
                                    [operator] => Heathrow Express
                                    [operatorCode] => HX
                                    [serviceType] => train
                                    [serviceID] => 2341304PADTON__
                                    [rsid] => HX010000
                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                        )

                                                )

                                        )

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

                                                )

                                        )

                                )

                            [5] => stdClass Object
                                (
                                    [std] => 04:53
                                    [etd] => On time
                                    [operator] => Elizabeth Line
                                    [operatorCode] => XR
                                    [serviceType] => train
                                    [serviceID] => 2341476PADTON__
                                    [rsid] => XR200900
                                    [origin] => stdClass Object
                                        (
                                            [location] => Array
                                                (
                                                    [0] => stdClass Object
                                                        (
                                                            [locationName] => London Paddington
                                                            [crs] => PAD
                                                        )

                                                )

                                        )

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

                                                )

                                        )

                                )

                        )

                )

        )

)