Initial parameters for the first request
Returns true when no more pages should be fetched
Returns the params for the next page request
Extracts items from a single page response
OptionalonOptional: called once before the first fetch starts
OptionalonOptional: called once after all pages have been fetched
OptionalonOptional: called after each page is fetched
OptionalmaxOptional: maximum number of pages to fetch (safety limit)
Optionaldelay?: numberOptional: milliseconds to wait between each page fetch
The function that fetches a single page