add until parameter to fetch a date range, handle iterating through API response without count