package com.jarvislin.isitrainingnow.network;

import com.jarvislin.isitrainingnow.model.WeatherStation;

import java.util.ArrayList;

import retrofit2.http.GET;
import rx.Observable;

/**
 * Created by JarvisLin on 2017/1/7.
 */

public interface OpenDataApi {
    @GET("?$select=SiteName,TWD67Lon,TWD67Lat,Rainfall10min,PublishTime&$orderby=PublishTime%20DESC&$skip=0&$top=1000&format=json&token=ijhBb85vJEKD0t+rPLJ0tw")
    Observable<ArrayList<WeatherStation>> rainingData();
}

@@ -271,69 +271,8 @@
 (%22?$
-select=SiteName,TWD67Lon,TWD67Lat,Rainfall10min,PublishTime&$
 orde
@@ -293,12 +293,12 @@
 e%2520
-DESC
+desc
 &$sk

edit query