selectCity

suspend fun selectCity(city: String): WeatherData?

Select the city and fetch the weather data. If the weather data is already in the cache and it is up to date do nothing.

Parameters

city

City to fetch the weather data for.