getBuilderBaseLeagues

suspend fun getBuilderBaseLeagues(pagination: PaginationQuery = PaginationQuery()): Deferred<SimpleLeagueList>

Retrieves the list of Builder Base leagues.

Return

A Deferred object representing the list of Builder Base leagues.

Parameters

pagination

An optional PaginationQuery object for customizing the pagination of the results.

Throws

If the API is in maintenance.

If the API returns an unexpected gateway exception.