getClanWarLog

suspend fun getClanWarLog(clanTag: String, pagination: PaginationQuery = PaginationQuery()): Deferred<ClanWarLog>

Retrieves the war log of a clan based on the provided clanTag.

Return

A Deferred object representing the war log of the specified clan.

Parameters

clanTag

The tag of the clan for which to retrieve the war log.

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 war log data available.

If the API returns an unexpected gateway exception.