def METHOD_NAME(page: int, hits_per_page: int):
    return client.index("apps").search(
        "",
        {
            "sort": ["updated_at:desc"],
            "hitsPerPage": hits_per_page or 250,
            "page": page or 1,
        },
    )