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

# Championmastery

Module: `pyot.models.lol.championmastery`

### *class* `ChampionMasteries`

Type: `PyotCore`

Definitions:

* `__init__` -> `None`
  * `summoner_id`: `str = empty`
  * `platform`: `str = models.lol.DEFAULT_PLATFORM`
* `__iter__` -> `Iterator[pyot.models.lol.championmastery.ChampionMastery]`
* `__len__` -> `int`

Endpoints:

* `champion_mastery_v4_all_mastery`: `['summoner_id']`

Attributes:

* `summoner_id` -> `str`
* `masteries` -> `List[pyot.models.lol.championmastery.ChampionMastery]`
* `total_score` -> `int`

Properties:

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

### *class* `ChampionMastery`

Type: `PyotCore`

Definitions:

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

Endpoints:

* `champion_mastery_v4_by_champion_id`: `['summoner_id', 'champion_id']`

Attributes:

* `champion_id` -> `int`
* `champion_level` -> `int`
* `champion_points` -> `int`
* `last_play_timestamp` -> `int`
* `champion_points_since_last_level` -> `int`
* `champion_points_until_next_level` -> `int`
* `chest_granted` -> `bool`
* `tokens_earned` -> `int`
* `summoner_id` -> `str`

Properties:

* *property* `champion` -> `Champion`
* *property* `last_play_time` -> `datetime.datetime`
* *property* `meraki_champion` -> `MerakiChampion`
* *property* `summoner` -> `Summoner`
