API returns an error if >1000 results
Opened this issue · 1 comments
yohancourbe commented
The API returns an error if it returns more than 1000 elements. The API supports an input _max_results
which can take negative and positive integer:
- A negative number will return an error if the maximum is reached
- A positive number will limit return the maximum elements without triggering an error
By default this value is -1000 which means that if you have more than 1000 elements to return you will receive an error.
I suggest two edits:
- Implement an input to all getters that can return more than one element
- Implement an exception raising for this API error
yohancourbe commented
I already made the changes for my fist suggestion, can I make a pull request ?