Simple Weather app using latest Android Jetpack Libraries. MVVM, Jetpack Compose, Kotlin Coroutines, Dagger Hilt & Retrofit
This app uses 2 separate public api that you will need to sign up and create your own apiKeys for:
Put your api key in LocationApi.kt
suspend fun getLatLongByCity(
@Query("q") city: String,
@Query("key") key: String = "{yourApiKeyHere}"
): CityDataByLatLong
Put your api key in WeatherApi.kt
val apiKey = "{yourApiKeyHere}"