package tw.wancw.curator.api;

import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.RequestParams;

public class CuratorApi {

    private static final String API_END_POINT = "http://curator.im/api/";

    private static final AsyncHttpClient client = new AsyncHttpClient();

    private final String token;

    public CuratorApi(String token) {
        this.token = token;
    }

    public void stream(MeiZiCardsResponseHandler handler) {
        final String path = "stream/";
        RequestParams params = new RequestParams();
        params.put("token", token);
        params.put("page", 1);
        client.get(API_END_POINT + path, params, new StreamResponseHandler(handler));
    }
}

@@ -422,16 +422,139 @@
  stream(
+final MeiZiCardsResponseHandler handler) %7B%0A        stream(1, handler);%0A    %7D%0A%0A    public void stream(final int page, final 
 MeiZiCar
@@ -736,17 +736,36 @@
 %22page%22, 
-1
+String.valueOf(page)
 );%0A     

Support `page` parameter in stream API.