getLeagueSeasonRanking

suspend fun getLeagueSeasonRanking(leagueId: String, seasonId: String, pagination: PaginationQuery = PaginationQuery()): Deferred<PlayerRankingList>

Retrieves the ranking of players for a specific league season based on the provided leagueId and seasonId.

Return

A Deferred object representing the ranking of players for the specified league season.

Parameters

leagueId

The ID of the league for which to retrieve the ranking.

seasonId

The ID of the season for which to retrieve the ranking.

pagination

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

Throws

If the API is in maintenance.

If the requested league or season or its ranking is not found.

If the API returns an unexpected gateway exception.