// Path: app/src/main/java/mk/petrovski/weathergurumvp/data/remote/model/location_models/SearchApiResponseModel.java
// public class SearchApiResponseModel extends DataResponseModel {
//   private ResultModel search_api;
// 
//   public ResultModel getSearch_api() {
//     return search_api;
//   }
// 
//   public void setSearch_api(ResultModel search_api) {
//     this.search_api = search_api;
//   }
// }
// 
// Path: app/src/main/java/mk/petrovski/weathergurumvp/data/remote/model/weather_models/WeatherResponseModel.java
// public class WeatherResponseModel {
//   private DataModel data;
// 
//   public DataModel getData() {
//     return data;
//   }
// 
//   public void setData(DataModel data) {
//     this.data = data;
//   }
// }


import io.reactivex.Observable;
import mk.petrovski.weathergurumvp.data.remote.model.location_models.SearchApiResponseModel;
import mk.petrovski.weathergurumvp.data.remote.model.weather_models.WeatherResponseModel;
import retrofit2.http.GET;
import retrofit2.http.Query;
package mk.petrovski.weathergurumvp.data.remote;


/**
 * Created by Nikola Petrovski on 2/13/2017.
 */

public interface ApiInterface {

  @GET(ApiConsts.LOCATION_SEARCH_API_URL) Observable<SearchApiResponseModel> getLocations(
      @Query("query") String query, @Query("key") String key, @Query("format") String format);

// Path: app/src/main/java/mk/petrovski/weathergurumvp/data/remote/model/location_models/SearchApiResponseModel.java
// public class SearchApiResponseModel extends DataResponseModel {
//   private ResultModel search_api;
// 
//   public ResultModel getSearch_api() {
//     return search_api;
//   }
// 
//   public void setSearch_api(ResultModel search_api) {
//     this.search_api = search_api;
//   }
// }
// 
// Path: app/src/main/java/mk/petrovski/weathergurumvp/data/remote/model/weather_models/WeatherResponseModel.java
// public class WeatherResponseModel {
//   private DataModel data;
// 
//   public DataModel getData() {
//     return data;
//   }
// 
//   public void setData(DataModel data) {
//     this.data = data;
//   }
// }


// Path: app/src/main/java/mk/petrovski/weathergurumvp/data/remote/ApiInterface.java
import io.reactivex.Observable;
import mk.petrovski.weathergurumvp.data.remote.model.location_models.SearchApiResponseModel;
import mk.petrovski.weathergurumvp.data.remote.model.weather_models.WeatherResponseModel;
import retrofit2.http.GET;
import retrofit2.http.Query;

package mk.petrovski.weathergurumvp.data.remote;


/**
 * Created by Nikola Petrovski on 2/13/2017.
 */

public interface ApiInterface {

  @GET(ApiConsts.LOCATION_SEARCH_API_URL) Observable<SearchApiResponseModel> getLocations(
      @Query("query") String query, @Query("key") String key, @Query("format") String format);

  @GET(ApiConsts.WEATHER_API_URL) Observable<WeatherResponseModel> checkWeather(