Closed redtoad closed 11 years ago
Original comment by Rolf Nelson (Bitbucket: rolfnelson, GitHub: rolfnelson)
Version 0.2.5 has 400 hard-coded
Although now that I look at the source code, setting b.limit = 10 on the item_search return value might work, so 400 is more 'defaulted' than 'hard-coded'.
Also, if 'b' means book in the example, the confusion might be that item_search returns pages, and not (as the (outdated?) docs suggest) individual items (like books) in 0.2.5.
Original comment by Rolf Nelson (Bitbucket: rolfnelson, GitHub: rolfnelson)
I have the same problem. The page-limit for item searches has been 10 instead of 400 since about 2011. Version 0.2.5 has 400 hard-coded; as a work-around I'm just iterating through the pages with itertools.islice(api.item_search(...), 10) so I don't fall over the page limit.
Originally reported by Branko Vukelic (Bitbucket: brankovukelic, GitHub: Unknown)
I have a code like this:
It returns 10 pages as of this posting. After 10 items have been returned, the exception is thrown.