getLocationCapitalRanking

suspend fun getLocationCapitalRanking(locationId: String, pagination: PaginationQuery = PaginationQuery()): Deferred<ClanCapitalRankingList>

Retrieves the list of clans ranked in the Capital for a specific location based on the provided locationId.

Return

A Deferred object representing the list of clans ranked in the Capital for the specified location.

Parameters

locationId

The ID of the location for which to retrieve the Capital clan rankings.

pagination

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

Throws

If the API is in maintenance.

If the requested location is not found.

If the API returns an unexpected gateway exception.