bahn_ex v1.0.0 BahnEx.ArrivalBoard View Source
The modul for the arrival board part of the DB Fahrplan api.
Link to this section Summary
Functions
Get arrival board at a given location at a given daten and time
Link to this section Functions
Link to this function
get_arrivals(station_id, iso_8601_date_time)
View Source
get_arrivals(non_neg_integer | BahnEx.Location.t, Calendar.datetime | String.t) :: [BahnEx.Train.t]
Get arrival board at a given location at a given daten and time.
id_or_location: either a integer
id or a %BahnEx.Location{}
iso_8601_date_time: a Calendar.dateTime
or a string
in ISO8601 date and time format
Returns: a list of %BahnEx.Train{}
for the given station and time.