Implemented automatic paging so multiple API calls will be made if page_number and page_size are omitted.
Outsourced paging of the API to another method