def METHOD_NAME(url, limit=50, verbose=False):
    assert limit <= 50, "50 is the maximum limit of items per page"
    result = []
    page = 1
    while True:
        if verbose:
            print(f"Requesting page {page}", end="\r", flush=True)
        if page == 1:
            # XXX: In some cases, a bug prevents using the `page` and `limit` parameters if the page is 1
            result_page = url_json_get(url)
        else:
            result_page = url_json_get(f"{url}&page={page}&limit={limit}")
        if not result_page:
            break
        result.extend(result_page)
        if len(result_page) < limit:
            break
        page += 1
    return result