Last active
April 9, 2016 04:47
-
-
Save derohimat/ee2e50416583e49a404b46fc482ac56e to your computer and use it in GitHub Desktop.
Gist Simple Service Sunshine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class SimpleService { | |
public static final String API_URL = "http://api.openweathermap.org/data/2.5/forecast/"; | |
public interface OpenWeatherMap { | |
@GET("daily?mode=json") | |
Call<ApiResponse> getWeather( | |
@Query("q") String city, | |
@Query("units") String units, | |
@Query("cnt") int count, | |
@Query("appid") String repo); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment