开发者

Questions method of the stackoverflow api returns only one page of questions

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜