getWarLeagues

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

Retrieves the list of War Leagues.

Return

A Deferred object representing the list of War 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.