On Fri, Mar 23, 2018 at 6:18 AM, Tal Barda <412tal412(a)gmail.com> wrote:
My problem is with the "lhlimit" parameter.
I'd like to get 10 results for
each page, but it's currently gives my 10 results for ALL of the pages,
which means I have to call "lhcontinue" each time.
Is it possible to get 10 results for each page when asking for multiple
pages?
No. You can get more results total by increasing lhlimit, but trying to
limit results per page gets complicated in the API module's code, and would
be even more complicated to provide continuation.
Or should I make a different call for each article in
order to achieve
this?
That would be one way to do it.
--
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation