Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android retrofit get @query

interface WeatherService {
    @GET("data/2.5/weather?")
    fun getCurrentWeatherData(@Query("lat") lat: String, @Query("lon") lon: String, @Query("APPID") app_id: String): Call<WeatherResponse>
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #android #retrofit
ADD COMMENT
Topic
Name
1+8 =