ClanRanking

data class ClanRanking(val clanLevel: Int, val clanPoints: Int, val location: Location, val members: Int, val tag: String, val name: String, val rank: Int, val previousRank: Int)

Represents the ClanRanking model of the Clash of Clans API. The ClanRanking data class stores information about a single clan's ranking.

Constructors

Link copied to clipboard
constructor(clanLevel: Int, clanPoints: Int, location: Location, members: Int, tag: String, name: String, rank: Int, previousRank: Int)

Properties

Link copied to clipboard

The level of the clan.

Link copied to clipboard

The total points earned by the clan.

Link copied to clipboard

The location of the clan.

Link copied to clipboard

The total number of members in the clan.

Link copied to clipboard

The name of the clan.

Link copied to clipboard

The previous ranking of the clan.

Link copied to clipboard
val rank: Int

The current ranking of the clan.

Link copied to clipboard
val tag: String

The tag of the clan.