↓ Output (cached 60s)


<?php
  
require("OpenLDBWS.php");
  
$OpenLDBWS = new OpenLDBWS("YOUR_ACCESS_TOKEN");
  
$response $OpenLDBWS->GetFastestDepartures("PAD",array("RDG","BRI"));
  
header("Content-Type: text/plain");
  
print_r($response);
?>
stdClass Object
(
    [DeparturesBoard] => stdClass Object
        (
            [generatedAt] => 2025-12-15T14:42:36.9761542+00:00
            [locationName] => London Paddington
            [crs] => PAD
            [nrccMessages] => stdClass Object
                (
                    [message] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [_] => 
Heavy rain may impact your journey in England and Wales today. More details and the full impact to your journey can be found in <a href="https://www.nationalrail.co.uk/service-disruptions/poor-weather-20251212/">Status and Disruptions.</a>
                                )

                            [1] => stdClass Object
                                (
                                    [_] => 
Trains between Reading / Heathrow Airport and London Paddington may be cancelled, delayed up to 40 minutes or revised. More details and the full impact to your journey can be found in <a href="https://www.nationalrail.co.uk/service-disruptions/hanwell-20251215/">Status and Disruptions.</a>
                                )

                        )

                )

            [platformAvailable] => 1
            [departures] => stdClass Object
                (
                    [destination] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [service] => stdClass Object
                                        (
                                            [std] => 14:30
                                            [etd] => 14:43
                                            [platform] => 5
                                            [operator] => Great Western Railway
                                            [operatorCode] => GW
                                            [serviceType] => train
                                            [serviceID] => 3536884PADTON__
                                            [origin] => stdClass Object
                                                (
                                                    [location] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [locationName] => London Paddington
                                                                    [crs] => PAD
                                                                )

                                                        )

                                                )

                                            [destination] => stdClass Object
                                                (
                                                    [location] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [locationName] => Weston-super-Mare
                                                                    [crs] => WSM
                                                                )

                                                        )

                                                )

                                        )

                                    [crs] => RDG
                                )

                            [1] => stdClass Object
                                (
                                    [service] => stdClass Object
                                        (
                                            [std] => 14:30
                                            [etd] => 14:43
                                            [platform] => 5
                                            [operator] => Great Western Railway
                                            [operatorCode] => GW
                                            [serviceType] => train
                                            [serviceID] => 3536884PADTON__
                                            [origin] => stdClass Object
                                                (
                                                    [location] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [locationName] => London Paddington
                                                                    [crs] => PAD
                                                                )

                                                        )

                                                )

                                            [destination] => stdClass Object
                                                (
                                                    [location] => Array
                                                        (
                                                            [0] => stdClass Object
                                                                (
                                                                    [locationName] => Weston-super-Mare
                                                                    [crs] => WSM
                                                                )

                                                        )

                                                )

                                        )

                                    [crs] => BRI
                                )

                        )

                )

        )

)