开发者

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

开发者 https://www.devze.com 2023-03-13 16:47 出处:网络
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?

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

精彩评论

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