MeteoLVProvider

public struct MeteoLVProvider

Meteo.lv observations provider

  • Initialize MeteoLVProvider

    Declaration

    Swift

    public init()
  • Get observations from Latvian Environment, Geology and Meteorology Centre

    Declaration

    Swift

    public func observations(completion: @escaping (Result<[Station]>) -> Void)

    Parameters

    completion

    Completion block with Result type

  • Get observations from Latvian State Roads

    Declaration

    Swift

    public func latvianRoadsObservations(completion: @escaping (Result<[LatvianRoadsStation]>) -> Void)

    Parameters

    completion

    Completion block with Result type