↓ Output (cached 60s)
<?php
require("OpenLDBSVWS.php");
$OpenLDBSVREFWS = new OpenLDBSVREFWS("YOUR_ACCESS_TOKEN");
$response = $OpenLDBSVREFWS->GetTOCList();
header("Content-Type: text/plain");
print_r($response);
?>
stdClass Object
(
[GetTOCListResult] => stdClass Object
(
[version] => 2022-05-17 12:00
[TOCList] => stdClass Object
(
[TOC] => Array
(
[0] => stdClass Object
(
[_] => Transport for Wales
[toc] => AW
)
[1] => stdClass Object
(
[_] => c2c
[toc] => CC
)
[2] => stdClass Object
(
[_] => Chiltern Railways
[toc] => CH
)
[3] => stdClass Object
(
[_] => Caledonian Sleeper
[toc] => CS
)
[4] => stdClass Object
(
[_] => East Midlands Railway
[toc] => EM
)
[5] => stdClass Object
(
[_] => Eurostar
[toc] => ES
)
[6] => stdClass Object
(
[_] => Grand Central
[toc] => GC
)
[7] => stdClass Object
(
[_] => Great Northern
[toc] => GN
)
[8] => stdClass Object
(
[_] => London North Eastern Railway
[toc] => GR
)
[9] => stdClass Object
(
[_] => Great Western Railway
[toc] => GW
)
[10] => stdClass Object
(
[_] => Gatwick Express
[toc] => GX
)
[11] => stdClass Object
(
[_] => Heathrow Connect
[toc] => HC
)
[12] => stdClass Object
(
[_] => Hull Trains
[toc] => HT
)
[13] => stdClass Object
(
[_] => Heathrow Express
[toc] => HX
)
[14] => stdClass Object
(
[_] => Island Line
[toc] => IL
)
[15] => stdClass Object
(
[_] => Lumo
[toc] => LD
)
[16] => stdClass Object
(
[_] => Greater Anglia
[toc] => LE
)
[17] => stdClass Object
(
[_] => West Midlands Trains
[toc] => LM
)
[18] => stdClass Object
(
[_] => London Overground
[toc] => LO
)
[19] => stdClass Object
(
[_] => London Underground
[toc] => LT
)
[20] => stdClass Object
(
[_] => Merseyrail
[toc] => ME
)
[21] => stdClass Object
(
[_] => Northern
[toc] => NT
)
[22] => stdClass Object
(
[_] => North Yorkshire Moors Railway
[toc] => NY
)
[23] => stdClass Object
(
[_] => Private Charter
[toc] => PC
)
[24] => stdClass Object
(
[_] => Network Rail
[toc] => RT
)
[25] => stdClass Object
(
[_] => Southeastern
[toc] => SE
)
[26] => stdClass Object
(
[_] => Sheffield Supertram
[toc] => SJ
)
[27] => stdClass Object
(
[_] => Southern
[toc] => SN
)
[28] => stdClass Object
(
[_] => Swanage Railway
[toc] => SP
)
[29] => stdClass Object
(
[_] => ScotRail
[toc] => SR
)
[30] => stdClass Object
(
[_] => South Western Railway
[toc] => SW
)
[31] => stdClass Object
(
[_] => Thameslink
[toc] => TL
)
[32] => stdClass Object
(
[_] => TransPennine Express
[toc] => TP
)
[33] => stdClass Object
(
[_] => Tyne and Wear Metro
[toc] => TW
)
[34] => stdClass Object
(
[_] => Avanti West Coast
[toc] => VT
)
[35] => stdClass Object
(
[_] => West Coast Railway Co
[toc] => WR
)
[36] => stdClass Object
(
[_] => CrossCountry
[toc] => XC
)
[37] => stdClass Object
(
[_] => Elizabeth Line
[toc] => XR
)
[38] => stdClass Object
(
[_] => Bus Station
[toc] => ZB
)
[39] => stdClass Object
(
[_] => Ferry Terminal
[toc] => ZF
)
[40] => stdClass Object
(
[_] => West Somerset Railway
[toc] => ZM
)
[41] => stdClass Object
(
[_] => Unknown
[toc] => ZZ
)
)
)
)
)