getClanMembers

suspend fun getClanMembers(clanTag: String, pagination: PaginationQuery = PaginationQuery()): Deferred<ClanMemberList>

Retrieves the list of members in a clan based on the provided clanTag.

Return

A Deferred object representing the list of members in the specified clan.

Parameters

clanTag

The tag of the clan for which to retrieve the member list.

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 members.

If the API returns an unexpected gateway exception.