Search
Preparing search index...
The search index is not available
@thetransportlab/tsopenldb - v1.1.68
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
TSOpenLDB
Class TSOpenLDB
Hierarchy
TSOpenLDB
Implements
ITSOpenLDB
Index
Constructors
constructor
Properties
_api
Key
_debug
Enabled
Methods
Call
Required
Params
fetch
From
Darwin
get
Arr
Board
With
Details
get
Arr
Dep
Board
With
Details
get
Arrival
Board
ByCRS
get
Arrival
Board
ByTIPLOC
get
Arrival
Departure
Board
ByCRS
get
Arrival
Departure
Board
ByTIPLOC
get
Dep
Board
With
Details
get
Departure
Board
ByCRS
get
Departure
Board
ByTIPLOC
get
Disruption
List
get
Fastest
Departures
get
Fastest
Departures
With
Details
get
Historic
Departure
Board
get
Historic
Service
Details
get
Historic
Time
Line
get
Next
Departures
get
Next
Departures
With
Details
get
Service
Details
ByRid
log
ToConsole
map
Params
ToSOAPXml
query
Historic
Services
query
Services
Constructors
constructor
new TSOpenLDB
(
__namedParameters
:
{
apiKey
:
string
;
debugEnabled
:
boolean
}
)
:
TSOpenLDB
Parameters
__namedParameters:
{
apiKey
:
string
;
debugEnabled
:
boolean
}
api
Key
:
string
debug
Enabled
:
boolean
Returns
TSOpenLDB
Properties
Private
_api
Key
_api
Key
:
string
Private
_debug
Enabled
_debug
Enabled
:
boolean
= false
Methods
Private
Call
Required
Params
Call
Required
Params
(
params
:
IOperationParams
)
:
TStaffOperation
Parameters
params:
IOperationParams
Returns
TStaffOperation
Private
fetch
From
Darwin
fetch
From
Darwin
(
operation
:
ESOAPStaffAction
, xml
:
string
)
:
Promise
<
IOpenLDBSVWSStationBoard
|
IOpenLDBSVWSServiceDetails
|
IDarwinServicesByHeadcodeFnReturn
|
string
>
Parameters
operation:
ESOAPStaffAction
xml:
string
Returns
Promise
<
IOpenLDBSVWSStationBoard
|
IOpenLDBSVWSServiceDetails
|
IDarwinServicesByHeadcodeFnReturn
|
string
>
get
Arr
Board
With
Details
get
Arr
Board
With
Details
(
__namedParameters
:
{
_params
:
_params
;
numRows
:
number
;
time
:
string
;
timeOffset
:
number
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
numRows
:
number
;
time
:
string
;
timeOffset
:
number
;
timeWindow
:
number
}
_params
:
_params
num
Rows
:
number
time
:
string
time
Offset
:
number
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Arr
Dep
Board
With
Details
get
Arr
Dep
Board
With
Details
(
__namedParameters
:
{
_params
:
_params
;
filterType
:
EFilterType
;
timeOffset
:
number
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
filterType
:
EFilterType
;
timeOffset
:
number
;
timeWindow
:
number
}
_params
:
_params
filter
Type
:
EFilterType
time
Offset
:
number
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Arrival
Board
ByCRS
get
Arrival
Board
ByCRS
(
__namedParameters
:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
_params
:
_params
get
Non
Passenger
Services
:
boolean
num
Rows
:
number
services
:
EServices
time
:
Date
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Arrival
Board
ByTIPLOC
get
Arrival
Board
ByTIPLOC
(
__namedParameters
:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
_params
:
_params
get
Non
Passenger
Services
:
boolean
num
Rows
:
number
services
:
EServices
time
:
Date
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Arrival
Departure
Board
ByCRS
get
Arrival
Departure
Board
ByCRS
(
__namedParameters
:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
_params
:
_params
get
Non
Passenger
Services
:
boolean
num
Rows
:
number
services
:
EServices
time
:
Date
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Arrival
Departure
Board
ByTIPLOC
get
Arrival
Departure
Board
ByTIPLOC
(
__namedParameters
:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
_params
:
_params
get
Non
Passenger
Services
:
boolean
num
Rows
:
number
services
:
EServices
time
:
Date
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Dep
Board
With
Details
get
Dep
Board
With
Details
(
__namedParameters
:
{
_params
:
_params
;
numRows
:
number
;
time
:
string
;
timeOffset
:
number
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
numRows
:
number
;
time
:
string
;
timeOffset
:
number
;
timeWindow
:
number
}
_params
:
_params
num
Rows
:
number
time
:
string
time
Offset
:
number
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Departure
Board
ByCRS
get
Departure
Board
ByCRS
(
__namedParameters
:
{
_params
:
_params
;
filterType
:
EFilterType
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
filterType
:
EFilterType
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
_params
:
_params
filter
Type
:
EFilterType
get
Non
Passenger
Services
:
boolean
num
Rows
:
number
services
:
EServices
time
:
Date
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Departure
Board
ByTIPLOC
get
Departure
Board
ByTIPLOC
(
__namedParameters
:
{
_params
:
_params
;
filterType
:
EFilterType
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
filterType
:
EFilterType
;
getNonPassengerServices
:
boolean
;
numRows
:
number
;
services
:
EServices
;
time
:
Date
}
_params
:
_params
filter
Type
:
EFilterType
get
Non
Passenger
Services
:
boolean
num
Rows
:
number
services
:
EServices
time
:
Date
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Disruption
List
get
Disruption
List
(
__namedParameters
:
{
_params
:
_params
}
)
:
Promise
<
string
>
Parameters
__namedParameters:
{
_params
:
_params
}
_params
:
_params
Returns
Promise
<
string
>
get
Fastest
Departures
get
Fastest
Departures
(
__namedParameters
:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
_params
:
_params
services
:
EServices
time
:
Date
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Fastest
Departures
With
Details
get
Fastest
Departures
With
Details
(
__namedParameters
:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
_params
:
_params
services
:
EServices
time
:
Date
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Historic
Departure
Board
get
Historic
Departure
Board
(
__namedParameters
:
{
_params
:
_params
;
numRows
:
number
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
numRows
:
number
;
timeWindow
:
number
}
_params
:
_params
num
Rows
:
number
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Historic
Service
Details
get
Historic
Service
Details
(
__namedParameters
:
{
_params
:
_params
}
)
:
Promise
<
IOpenLDBSVWSServiceDetails
>
Parameters
__namedParameters:
{
_params
:
_params
}
_params
:
_params
Returns
Promise
<
IOpenLDBSVWSServiceDetails
>
get
Historic
Time
Line
get
Historic
Time
Line
(
__namedParameters
:
{
_params
:
_params
}
)
:
Promise
<
string
>
Parameters
__namedParameters:
{
_params
:
_params
}
_params
:
_params
Returns
Promise
<
string
>
get
Next
Departures
get
Next
Departures
(
__namedParameters
:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
_params
:
_params
services
:
EServices
time
:
Date
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Next
Departures
With
Details
get
Next
Departures
With
Details
(
__namedParameters
:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
)
:
Promise
<
IOpenLDBSVWSStationBoard
>
Parameters
__namedParameters:
{
_params
:
_params
;
services
:
EServices
;
time
:
Date
;
timeWindow
:
number
}
_params
:
_params
services
:
EServices
time
:
Date
time
Window
:
number
Returns
Promise
<
IOpenLDBSVWSStationBoard
>
get
Service
Details
ByRid
get
Service
Details
ByRid
(
__namedParameters
:
{
_params
:
_params
}
)
:
Promise
<
IOpenLDBSVWSServiceDetails
>
Parameters
__namedParameters:
{
_params
:
_params
}
_params
:
_params
Returns
Promise
<
IOpenLDBSVWSServiceDetails
>
Private
log
ToConsole
log
ToConsole
(
message
?:
string
|
object
)
:
void
Parameters
Default value
message:
string
|
object
= "No message"
Returns
void
Private
map
Params
ToSOAPXml
map
Params
ToSOAPXml
(
operation
:
EStaffOperation
, params
:
IOperationParams
)
:
string
Parameters
operation:
EStaffOperation
params:
IOperationParams
Returns
string
query
Historic
Services
query
Historic
Services
(
__namedParameters
:
{
_params
:
_params
;
timeFilter
:
Date
}
)
:
Promise
<
string
>
Parameters
__namedParameters:
{
_params
:
_params
;
timeFilter
:
Date
}
_params
:
_params
time
Filter
:
Date
Returns
Promise
<
string
>
query
Services
query
Services
(
__namedParameters
:
{
_params
:
_params
;
sdd
:
string
|
Date
}
)
:
Promise
<
IDarwinServicesByHeadcodeFnReturn
>
Parameters
__namedParameters:
{
_params
:
_params
;
sdd
:
string
|
Date
}
_params
:
_params
sdd
:
string
|
Date
Returns
Promise
<
IDarwinServicesByHeadcodeFnReturn
>
Globals
TSOpenLDB
constructor
_api
Key
_debug
Enabled
Call
Required
Params
fetch
From
Darwin
get
Arr
Board
With
Details
get
Arr
Dep
Board
With
Details
get
Arrival
Board
ByCRS
get
Arrival
Board
ByTIPLOC
get
Arrival
Departure
Board
ByCRS
get
Arrival
Departure
Board
ByTIPLOC
get
Dep
Board
With
Details
get
Departure
Board
ByCRS
get
Departure
Board
ByTIPLOC
get
Disruption
List
get
Fastest
Departures
get
Fastest
Departures
With
Details
get
Historic
Departure
Board
get
Historic
Service
Details
get
Historic
Time
Line
get
Next
Departures
get
Next
Departures
With
Details
get
Service
Details
ByRid
log
ToConsole
map
Params
ToSOAPXml
query
Historic
Services
query
Services
Generated using
TypeDoc