getBuilderBaseLeague

suspend fun getBuilderBaseLeague(leagueId: Int, pagination: PaginationQuery = PaginationQuery()): Deferred<SimpleLeague>

Retrieves information about a specific Builder Base league based on the provided leagueId.

Return

A Deferred object representing the specified Builder Base league.

Parameters

leagueId

The ID of the Builder Base league to retrieve.

pagination

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

Throws

If the API is in maintenance.

If the requested league is not found.

If the API returns an unexpected gateway exception.