// Path: app/src/main/java/me/wavever/ganklock/model/bean/GankContent.java
// public class GankContent {
// 
//     @SerializedName(value = "category")
//     public List<String> category;
// 
//     @SerializedName(value = "error")
//     public boolean error;
// 
//     public Result results;
// 
//     public class Result {
//         @SerializedName(value = "Android") public List<Gank> androidList;
//         @SerializedName(value = "iOS") public List<Gank> iosList;
//         @SerializedName(value = "App") public List<Gank> appList;
//         @SerializedName(value = "前端") public List<Gank> htmlList;
//         @SerializedName(value = "瞎推荐") public List<Gank> recommendList;
//         @SerializedName(value = "休息视频") public List<Gank> restVideoList;
//         @SerializedName(value = "拓展资源") public List<Gank> extendRespurseList;
//     }
// 
// }
// 
// Path: app/src/main/java/me/wavever/ganklock/model/bean/GankDailyContent.java
// public class GankDailyContent {
// 
//     @SerializedName(value = "error")
//     public String error;
// 
//     @SerializedName(value = "results")
//     public List<GankDaily> results;
// 
// }


import io.reactivex.Observable;
import me.wavever.ganklock.model.bean.GankContent;
import me.wavever.ganklock.model.bean.GankDailyContent;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
package me.wavever.ganklock.model.http;


/**
 * Created by wavever on 2016/3/4.
 */
public interface GankService {
    @GET("day/{date}")
    Observable<GankContent> getGankData(@Path("date") String date);

    @GET("history/content/{count}/{page}")
// Path: app/src/main/java/me/wavever/ganklock/model/bean/GankContent.java
// public class GankContent {
// 
//     @SerializedName(value = "category")
//     public List<String> category;
// 
//     @SerializedName(value = "error")
//     public boolean error;
// 
//     public Result results;
// 
//     public class Result {
//         @SerializedName(value = "Android") public List<Gank> androidList;
//         @SerializedName(value = "iOS") public List<Gank> iosList;
//         @SerializedName(value = "App") public List<Gank> appList;
//         @SerializedName(value = "前端") public List<Gank> htmlList;
//         @SerializedName(value = "瞎推荐") public List<Gank> recommendList;
//         @SerializedName(value = "休息视频") public List<Gank> restVideoList;
//         @SerializedName(value = "拓展资源") public List<Gank> extendRespurseList;
//     }
// 
// }
// 
// Path: app/src/main/java/me/wavever/ganklock/model/bean/GankDailyContent.java
// public class GankDailyContent {
// 
//     @SerializedName(value = "error")
//     public String error;
// 
//     @SerializedName(value = "results")
//     public List<GankDaily> results;
// 
// }


// Path: app/src/main/java/me/wavever/ganklock/model/http/GankService.java
import io.reactivex.Observable;
import me.wavever.ganklock.model.bean.GankContent;
import me.wavever.ganklock.model.bean.GankDailyContent;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

package me.wavever.ganklock.model.http;


/**
 * Created by wavever on 2016/3/4.
 */
public interface GankService {
    @GET("day/{date}")
    Observable<GankContent> getGankData(@Path("date") String date);

    @GET("history/content/{count}/{page}")
    Observable<GankDailyContent> getDailyData(@Path("count")int count, @Path("page")int page);