Major refactor of Client.results. It's a matter of taste, but the code is much simpler: use itertools to enforce max_results rather than varying page size.
Breaking changes
List any changes that break the API usage supported on master.
None. Search constructor retains backwards compatibility for float('inf'); other floats were effectively unsupported (broken).
Description
Search.max_results
anint | None
.Client.delay_seconds
afloat
.Major refactor of
Client.results
. It's a matter of taste, but the code is much simpler: useitertools
to enforcemax_results
rather than varying page size.Breaking changes
None. Search constructor retains backwards compatibility for
float('inf')
; other floats were effectively unsupported (broken).Relevant issues
Checklist
README.md
example usage has been updated.