getLocationClanRanking

suspend fun getLocationClanRanking(locationId: String, pagination: PaginationQuery = PaginationQuery()): Deferred<ClanRankingList>

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

Return

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

Parameters

locationId

The ID of the location for which to retrieve the 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.