> For the complete documentation index, see [llms.txt](https://pyot.iann838.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pyot.iann838.com/models/lol/clash.md).

# Clash

Module: `pyot.models.lol.clash`

### *class* `ClashPlayers`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `summoner_id`: `str = empty`
  * `platform`: `str = models.lol.DEFAULT_PLATFORM`

Endpoints:

* `clash_v1_players`: `['summoner_id']`

Attributes:

* `summoner_id` -> `str`
* `players` -> `List[pyot.models.lol.clash.ClashPlayerData]`

Properties:

* *property* `summoner` -> `Summoner`

### *class* `ClashTeam`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `id`: `str = empty`
  * `platform`: `str = models.lol.DEFAULT_PLATFORM`

Endpoints:

* `clash_v1_teams`: `['id']`

Attributes:

* `id` -> `str`
* `tournament_id` -> `int`
* `name` -> `str`
* `icon_id` -> `int`
* `tier` -> `int`
* `captain_summoner_id` -> `str`
* `abbreviation` -> `str`
* `players` -> `List[pyot.models.lol.clash.ClashPlayerData]`

Properties:

* *property* `captain` -> `Summoner`
* *property* `tournament` -> `ClashTournament`

### *class* `ClashTournament`

Type: `PyotCore`

Extends:

* `pyot.models.lol.clash.ClashTournamentData`

Definitions:

* `__init__` -> `None`
  * `id`: `int = empty`
  * `team_id`: `str = empty`
  * `platform`: `str = models.lol.DEFAULT_PLATFORM`

Endpoints:

* `clash_v1_tournaments_by_team_id`: `['team_id']`
* `clash_v1_toutnaments_by_tournament_id`: `['id']`

Attributes:

* `id` -> `int`
* `theme_id` -> `int`
* `name_key` -> `str`
* `name_key_secondary` -> `str`
* `schedule` -> `List[pyot.models.lol.clash.ClashTournamentPhaseData]`
* `team_id` -> `str`

Properties:

* *property* `team` -> `pyot.models.lol.clash.ClashTeam`

### *class* `ClashTournaments`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `platform`: `str = models.lol.DEFAULT_PLATFORM`
* `__iter__` -> `List[pyot.models.lol.clash.ClashTournamentData]`
* `__len__` -> `int`

Endpoints:

* `clash_v1_tournaments_all`: `[]`

Attributes:

* `tournaments` -> `List[pyot.models.lol.clash.ClashTournamentData]`

### *class* `ClashPlayerData`

Type: `PyotStatic`

Attributes:

* `summoner_id` -> `str`
* `team_id` -> `str`
* `position` -> `str`
* `role` -> `str`

Properties:

* *property* `summoner` -> `Summoner`
* *property* `team` -> `ClashTeam`

### *class* `ClashTournamentData`

Type: `PyotStatic`

Attributes:

* `id` -> `int`
* `theme_id` -> `int`
* `name_key` -> `str`
* `name_key_secondary` -> `str`
* `schedule` -> `List[pyot.models.lol.clash.ClashTournamentPhaseData]`

### *class* `ClashTournamentPhaseData`

Type: `PyotStatic`

Attributes:

* `id` -> `int`
* `registration_timestamp` -> `int`
* `start_timestamp` -> `int`
* `cancelled` -> `bool`

Properties:

* *property* `registration_time` -> `datetime.datetime`
* *property* `start_time` -> `datetime.datetime`
