Skip to content

Instantly share code, notes, and snippets.

@LukaKordic
Created August 13, 2019 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LukaKordic/81e96586e9aa1a48612a45bfa78cfe27 to your computer and use it in GitHub Desktop.
Save LukaKordic/81e96586e9aa1a48612a45bfa78cfe27 to your computer and use it in GitHub Desktop.
interface WeatherApi {
@GET("weather")
suspend fun getWeatherForLocation(@Query("q") location: String, @Query("appid") apiKey: String = API_KEY): Response<WeatherInfoResponse>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment