WeatherApi

interface WeatherApi

Functions

Link copied to clipboard
abstract suspend fun getCondition(location: Point, systemOfMeasurement: WeatherSystemOfMeasurement = WeatherSystemOfMeasurement.Imperial): Result<WeatherCondition>
Link copied to clipboard
abstract suspend fun getForecast(location: Point, systemOfMeasurement: WeatherSystemOfMeasurement = WeatherSystemOfMeasurement.Imperial): Result<List<WeatherForecastItem>>
Link copied to clipboard
abstract suspend fun getWeatherAlerts(location: Point): Result<List<WeatherAlert>>