2020-12-16 19:26:53 +00:00
|
|
|
package cc.pogoda.mobile.pogodacc.web;
|
|
|
|
|
|
|
|
import cc.pogoda.mobile.pogodacc.type.web.ListOfStationData;
|
|
|
|
import retrofit2.Call;
|
|
|
|
import retrofit2.http.GET;
|
2021-11-29 10:32:10 +00:00
|
|
|
import retrofit2.http.Path;
|
2020-12-16 19:26:53 +00:00
|
|
|
import retrofit2.http.Query;
|
|
|
|
|
|
|
|
public interface LastStationDataConsumer {
|
|
|
|
|
2021-11-29 10:32:10 +00:00
|
|
|
@GET("meteo_backend/station/{stationName}/lastStationData/")
|
|
|
|
Call<ListOfStationData> getLastDataForStation(@Path("stationName")String station,
|
2020-12-16 19:26:53 +00:00
|
|
|
@Query("ascendingOrder")boolean ascendingOrder,
|
|
|
|
@Query("isLong")boolean isLong);
|
|
|
|
}
|