Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / resources / LocationRest.java
package com.example.cosmosclient.resources;

import com.example.cosmosclient.entities.AreaInformation;
import com.example.cosmosclient.entities.Feature;

import java.util.ArrayList;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


public interface LocationRest {

    @GET("shops")
    Call<ArrayList<Feature>> LocationService(@Query("leftLatitude") String leftLat,
                                             @Query("leftLongitude") String leftLon,
                                             @Query("rightLatitude") String rightLat,
                                             @Query("rightLongitude") String rightLon);
}