diff --git a/app/src/main/java/com/example/cosmosclient/resources/ShopRest.java b/app/src/main/java/com/example/cosmosclient/resources/ShopRest.java new file mode 100644 index 0000000..0d9a51c --- /dev/null +++ b/app/src/main/java/com/example/cosmosclient/resources/ShopRest.java @@ -0,0 +1,17 @@ +package com.example.cosmosclient.resources; + +import com.example.cosmosclient.entities.Feature; + +import retrofit2.Call; +import retrofit2.http.GET; +import retrofit2.http.Query; + +public interface ShopRest { + + @GET("rest") + Call ShopRequest(@Query("longitude") double longitude, + @Query("latitude") double latitude, + @Query("longitudeRange") double longitudeRange, + @Query("latitudeRange") double latitudeRange, + @Query("shop") int shop); +}