getClanCurrentWar

suspend fun getClanCurrentWar(clanTag: String): Deferred<ClanWar>

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

Return

A Deferred object representing the current war status of the specified clan.

Parameters

clanTag

The tag of the clan for which to retrieve the current war status.

Throws

If the API is in maintenance.

If the requested clan is not found or does not have an ongoing war.

If the API returns an unexpected gateway exception.