TKDeparturesProvider

extension TKDeparturesProvider

Departures.json for stop-to-stop

  • Undocumented

    Declaration

    Swift

    public class func fetchDepartures(for table: TKDLSTable, fromDate: Date = Date(), limit: Int = 10) -> Single<TKAPI.Departures>
  • Undocumented

    Declaration

    Swift

    public class func downloadDepartures(for table: TKDLSTable, fromDate: Date, limit: Int = 10) -> Single<Set<String>>