문제

Trying to work with questions method of the stackoverflow api and it returns only one page of questions , how can I get the following pages?

The java code I am using :

URL stackoverflow = new URL("http://api.stackoverflow.com/1.1/"
                + method + "?" + "answers=" + includeAnswers + "&body="
                + includeBody + "&fromdate=" + fromUnixTime + "&todate="
                + toUnixTime);

        URLConnection connection = stackoverflow.openConnection();

        InputStream input = connection.getInputStream();

Thank you.

도움이 되었습니까?

해결책

It says right in the documentation for the questions method :

page – The pagination offset for the current collection. Affected by the specified pagesize. 32-bit signed integer

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top