mbus-backend
Preparing search index...
services/mbus
fetchPredictions
Function fetchPredictions
fetchPredictions
(
stopIds
:
string
[]
,
routes
:
string
[]
,
)
:
Promise
<
(
|
{
"bustime-response"
:
{
error
?:
unknown
;
prd
?:
{
des
:
string
;
dly
?:
boolean
;
dstp
:
number
;
dyn
:
number
;
nbus
?:
string
;
origtatripno
:
string
;
prdctdn
:
string
;
prdtm
:
string
;
psgld
:
string
;
rt
:
string
;
rtdd
:
string
;
rtdir
:
string
;
stpid
:
string
;
stpnm
:
string
;
stsd
?:
string
;
stst
?:
number
;
tablockid
:
string
;
tatripid
:
string
;
tmstmp
:
string
;
typ
:
string
;
vid
:
string
;
zone
:
string
;
}
[]
;
}
;
}
|
null
)
[]
,
>
Fetches predictions for multiple stop IDs.
Parameters
stopIds
:
string
[]
routes
:
string
[]
Returns
Promise
<
(
|
{
"bustime-response"
:
{
error
?:
unknown
;
prd
?:
{
des
:
string
;
dly
?:
boolean
;
dstp
:
number
;
dyn
:
number
;
nbus
?:
string
;
origtatripno
:
string
;
prdctdn
:
string
;
prdtm
:
string
;
psgld
:
string
;
rt
:
string
;
rtdd
:
string
;
rtdir
:
string
;
stpid
:
string
;
stpnm
:
string
;
stsd
?:
string
;
stst
?:
number
;
tablockid
:
string
;
tatripid
:
string
;
tmstmp
:
string
;
typ
:
string
;
vid
:
string
;
zone
:
string
;
}
[]
;
}
;
}
|
null
)
[]
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mbus-backend
Loading...
Fetches predictions for multiple stop IDs.