bahn_ex v1.0.0 BahnEx.Request View Source
Generates the request to the DB Fahrplan API
Link to this section Summary
Link to this section Functions
Link to this function
arrival_board(id, dateTime)
View Source
arrival_board(non_neg_integer, Calendar.datetime) :: {:ok, HTTPoison.Response.t | HTTPoison.AsyncResponse.t} | {:error, HTTPoison.Error.t}
Link to this function
departure_board(id, dateTime)
View Source
departure_board(non_neg_integer, Calendar.datetime) :: {:ok, HTTPoison.Response.t | HTTPoison.AsyncResponse.t} | {:error, HTTPoison.Error.t}
Link to this function
journey_details(id)
View Source
journey_details(String.t) :: {:ok, HTTPoison.Response.t | HTTPoison.AsyncResponse.t} | {:error, HTTPoison.Error.t}
Link to this function
location(location)
View Source
location(String.t) :: {:ok, HTTPoison.Response.t | HTTPoison.AsyncResponse.t} | {:error, HTTPoison.Error.t}