Created
August 1, 2017 06:59
-
-
Save hassanabidpk/7e62f5c3cad7473f0b76f1308172515e to your computer and use it in GitHub Desktop.
For Medium Blog post
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
package co.searchrestaurant.android.app.fetch; | |
import retrofit2.Call; | |
import retrofit2.http.GET; | |
import retrofit2.http.Query; | |
/** | |
* Created by hassanabid on 2/27/16. | |
*/ | |
public interface SearchRestaurantApi { | |
@GET("api/v1/") | |
Call<SearchRestaurantResponse[]> getRestaurantsList(@Query("format") String format, @Query("location") String location, | |
@Query("rtype") String rtype); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment