Skip to content

Instantly share code, notes, and snippets.

@minibugdev
Created November 1, 2016 04:58
Show Gist options
  • Save minibugdev/08927070cd5394578420c1e8092dbd8a to your computer and use it in GitHub Desktop.
Save minibugdev/08927070cd5394578420c1e8092dbd8a to your computer and use it in GitHub Desktop.
interface WeatherService {
@GET("weather?units=metric")
fun getWeather(@Query("q") city: String, @Query("appid") apiKey: String): Observable<WeatherResponse>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment