Added test page

This commit is contained in:
Fred Boniface 2022-09-15 22:46:12 +01:00
parent 92c20c8740
commit ca94cbcbc7
1 changed files with 8 additions and 0 deletions

8
example.php Normal file
View File

@ -0,0 +1,8 @@
<?php
require("./OpenLDBSVWS/openLDBSVWS.php");
date_default_timezone_set("Europe/London");
$OpenLDBSVWS = new OpenLDBSVWS("ACCESS TOKEN");
$response = $OpenLDBSVWS->GetDepartureBoardByCRS(10,"BRI",date("H:i:s",time()),120,"","","","","True");
header("Content-Type: text/plain");
print_r($response);
?>