BarInsta/app/src/main/java/awais/instagrabber/repositories/FeedRepository.java

16 lines
435 B
Java
Raw Normal View History

package awais.instagrabber.repositories;
import java.util.Map;
2021-03-22 18:51:44 +00:00
import awais.instagrabber.repositories.responses.feed.FeedFetchResponse;
import retrofit2.Call;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
public interface FeedRepository {
@FormUrlEncoded
@POST("/api/v1/feed/timeline/")
Call<FeedFetchResponse> fetch(@FieldMap final Map<String, String> signedForm);
}