requestStopEvent

suspend fun requestStopEvent(languageCode: LanguageCode = LanguageCode.DE, location: LocationDto, params: StopEventParam? = null): Result<StopEventDeliveryDto>

Requests stop event information (departures/arrivals) for a specific stop

Return

StopEventDeliveryDto with the stop event results

Parameters

languageCode

The LanguageCode for the desired results, default is LanguageCode.DE

location

The LocationDto describing the stop the request is about

params

Additional parameters to filter and control the included information