Package-level declarations

Types

Link copied to clipboard
data class PlayerBuilderBaseRanking(val clan: PlayerRankingClan, val builderBaseLeague: SimpleLeague, val tag: String, val name: String, val expLevel: Int, val rank: Int, val previousRank: Int, val builderBaseTrophies: Int)

Represents the PlayerBuilderBaseRanking model of the Clash of Clans API. The PlayerBuilderBaseRanking data class stores information about a player's ranking based on their builder base performance.

Link copied to clipboard

Represents the PlayerBuilderBaseRankingList model of the Clash of Clans API. The PlayerBuilderBaseRankingList data class stores a list of player rankings based on their builder base performance.

Link copied to clipboard
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.

Link copied to clipboard
data class PlayerRankingClan(val tag: String, val name: String, val badgeUrls: Badge)

Represents the PlayerRankingClan model of the Clash of Clans API. The PlayerRankingClan data class stores information about a player's clan in the rankings.

Link copied to clipboard
data class PlayerRankingList(val items: List<PlayerRanking>, val paging: Paging?) : ApiListResponse<PlayerRanking>

Represents the PlayerRankingList model of the Clash of Clans API. The PlayerRankingList data class stores a list of player rankings.