Added Android code
[wl-app.git] / Android / app / src / main / java / com / moiseum / wolnelektury / connection / services / NewsService.java
1 package com.moiseum.wolnelektury.connection.services;
2
3 import com.moiseum.wolnelektury.connection.models.NewsModel;
4
5 import java.util.List;
6
7 import retrofit2.Call;
8 import retrofit2.http.GET;
9 import retrofit2.http.Path;
10 import retrofit2.http.Query;
11
12 public interface NewsService {
13
14         @GET("blog")
15         Call<List<NewsModel>> getNews(@Query("after") String lastKey, @Query("count") int count);
16 }