Player Ranking
data class PlayerRanking(val clan: PlayerRankingClan, val attackWins: Int, val defenseWins: Int, val tag: String, val name: String, val expLevel: Int, val rank: Int, val previousRank: Int, val trophies: Int)
Represents the PlayerRanking model of the Clash of Clans API. The PlayerRanking data class stores information about a player's ranking.
Properties
Link copied to clipboard
The total number of attack wins achieved by the player.
Link copied to clipboard
Information about the player's clan and its ranking.
Link copied to clipboard
The total number of defense wins achieved by the player.
Link copied to clipboard
The previous rank of the player in the rankings.