0

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.

Sergey Kucher
  • 4,140
  • 5
  • 29
  • 47

1 Answers1

1

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

stevevls
  • 10,675
  • 1
  • 45
  • 50