bahn_ex v1.0.0 BahnEx.JourneyDetails View Source
The module for the journey details endpoint of the DB Fahrplan API.
Link to this section Summary
Functions
Retrieve details of a journey. The id of journey should come from an arrival board or a departure board
Link to this section Functions
Link to this function
get_journey_details(id)
View Source
get_journey_details(BahnEx.Train.t | String.t) :: [BahnEx.TrainLoc.t]
Retrieve details of a journey. The id of journey should come from an arrival board or a departure board.
id: Either a %BahnEx.Train{}
struct or an string id
Returns a list of %BahnEx.TrainLoc{}
s.