> 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/tft/match.md).

# Match

Module: `pyot.models.tft.match`

### *class* `Match`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `id`: `str = empty`
  * `region`: `str = models.tft.DEFAULT_REGION`

Endpoints:

* `match_v1_match`: `['id']`

Attributes:

* `id` -> `str`
* `info` -> `pyot.models.tft.match.MatchInfoData`
* `metadata` -> `pyot.models.tft.match.MatchMetadataData`

### *class* `MatchHistory`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `puuid`: `str = empty`
  * `region`: `str = models.tft.DEFAULT_REGION`
* `__iter__` -> `Iterator[pyot.models.tft.match.Match]`
* `__len__` -> `int`

Endpoints:

* `match_v1_matchlist`: `['puuid']`

Query Params:

* `count`: `int = 20`

Attributes:

* `ids` -> `List[str]`
* `puuid` -> `str`

Properties:

* *property* `matches` -> `List[pyot.models.tft.match.Match]`
* *property* `summoner` -> `Summoner`

### *class* `MatchInfoCompanionData`

Type: `PyotStatic`

Attributes:

* `content_id` -> `str`
* `skin_id` -> `int`
* `species` -> `str`

### *class* `MatchInfoData`

Type: `PyotStatic`

Attributes:

* `datetime_millis` -> `int`
* `length_secs` -> `float`
* `variation` -> `str`
* `version` -> `str`
* `participants` -> `List[pyot.models.tft.match.MatchInfoParticipantData]`
* `queue_id` -> `int`
* `tft_mode` -> `str`
* `tft_set_number` -> `int`

Properties:

* *property* `datetime` -> `datetime.datetime`
* *property* `length` -> `datetime.timedelta`

### *class* `MatchInfoParticipantData`

Type: `PyotStatic`

Attributes:

* `companion` -> `pyot.models.tft.match.MatchInfoCompanionData`
* `gold_left` -> `int`
* `last_round` -> `int`
* `level` -> `int`
* `placement` -> `int`
* `players_eliminated` -> `int`
* `puuid` -> `str`
* `time_eliminated_secs` -> `float`
* `total_damage_to_players` -> `int`
* `traits` -> `List[pyot.models.tft.match.MatchInfoTraitData]`
* `units` -> `List[pyot.models.tft.match.MatchInfoUnitData]`

Properties:

* *property* `summoner` -> `Summoner`
* *property* `time_eliminated` -> `datetime.timedelta`

### *class* `MatchInfoTraitData`

Type: `PyotStatic`

Attributes:

* `name` -> `str`
* `num_units` -> `int`
* `style` -> `int`
* `tier_current` -> `int`
* `tier_total` -> `int`

Properties:

* *property* `trait` -> `Trait`

### *class* `MatchInfoUnitData`

Type: `PyotStatic`

Attributes:

* `item_ids` -> `List[int]`
* `champion_key` -> `str`
* `chosen` -> `str`
* `name` -> `str`
* `rarity` -> `int`
* `tier` -> `int`

Properties:

* *property* `champion` -> `Champion`
* *property* `items` -> `List[ForwardRef(Item)]`

### *class* `MatchMetadataData`

Type: `PyotStatic`

Attributes:

* `id` -> `str`
* `data_version` -> `str`
* `participant_puuids` -> `List[str]`

Properties:

* *property* `participants` -> `List[ForwardRef(Summoner)]`
