League

data class League(val name: String, val id: Int, val iconUrls: Icon)

Represents the League model of the Clash of Clans API.

Constructors

Link copied to clipboard
constructor(name: String, id: Int, iconUrls: Icon)

Properties

Link copied to clipboard

The Icon URLs representing the league's icon in different sizes.

Link copied to clipboard
val id: Int

The unique identifier for the league.

Link copied to clipboard

The name of the league.