@@ -0,0 +1,1370 @@
+%0D%0Apackage com.ripple.cli;%0D%0A%0D%0Aimport org.json.JSONException;%0D%0Aimport org.json.JSONObject;%0D%0A%0D%0Aimport com.ripple.client.Client;%0D%0Aimport com.ripple.client.ClientLogger;%0D%0Aimport com.ripple.client.Request;%0D%0Aimport com.ripple.client.Response;%0D%0Aimport com.ripple.client.enums.Command;%0D%0Aimport com.ripple.client.transport.impl.JavaWebSocketTransportImpl;%0D%0A%0D%0Apublic class CheckPrice %7B%0D%0A    public static void main(String%5B%5D args) throws JSONException %7B%0D%0A        ClientLogger.quiet = true;%0D%0A%0D%0A        Client client = new Client(new JavaWebSocketTransportImpl());%0D%0A        client.connect(%22wss://s1.ripple.com%22);%0D%0A        Request request = client.newRequest(Command.book_offers);%0D%0A%0D%0A        request.json(%22taker_gets%22, new JSONObject(%22%7B%5C%22currency%5C%22 : %5C%22XRP%5C%22%7D%22));%0D%0A        request.json(%22taker_pays%22, new JSONObject(%0D%0A                %22%7B%5C%22currency%5C%22 : %5C%22CNY%5C%22, %5C%22issuer%5C%22 : %5C%22razqQKzJRdB4UxFPWf5NEpEG3WMkmwgcXA%5C%22%7D%22));%0D%0A%0D%0A        request.once(Request.OnResponse.class, new Request.OnResponse() %7B%0D%0A            @Override%0D%0A            public void called(Response response) %7B%0D%0A                if (response.succeeded) %7B%0D%0A                    JSONObject result = response.result;%0D%0A                    System.out.println(result);%0D%0A                %7D else %7B%0D%0A                    System.out.println(%22Yeah, nup%22);%0D%0A                %7D%0D%0A            %7D%0D%0A        %7D);%0D%0A        request.request();%0D%0A    %7D%0D%0A%7D%0D%0A

add check price.