getClanCapitalRaidSeasons

suspend fun getClanCapitalRaidSeasons(clanTag: String, pagination: PaginationQuery = PaginationQuery()): Deferred<ClanCapitalRaidSeasons>

Retrieves the capital raid seasons of a clan based on the provided clanTag.

Return

A Deferred object representing the capital raid seasons of the specified clan.

Parameters

clanTag

The tag of the clan for which to retrieve the capital raid seasons.

pagination

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

Throws

If the API is in maintenance.

If the requested clan is not found or has no capital raid season data available.

If the API returns an unexpected gateway exception.