package club.thepenguins.android.api; import java.util.List; import club.thepenguins.android.data.Comments; import club.thepenguins.android.data.Image; import club.thepenguins.android.data.IndividualPost; import club.thepenguins.android.data.Posts; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface APIService { @GET("wp-json/wp/v2/posts?_embed") Call> getPosts(); @GET("wp-json/wp/v2/posts?_embed") Call> getPostsPerPage(@Query("per_page") String count); @GET(".") Call getFeaturedImageLink(); @GET("wp-json/wp/v2/posts?_embed") Call> getCategoryPosts(@Query("categories") String id); @GET(".") Call getPostContent(); @GET("wp-json/wp/v2/posts?_embed") Call> getAuthorPosts(@Query("author") String id); @GET("wp-json/wp/v2/comments") Call> getPostComments(@Query("post") String id); //@GET("wp-json/wp/v2/categories") }