pytenno.interface.liches
Module holding the Liches interface class.
- class pytenno.interface.liches.Liches(backend: PyTennoBackend)[source]
Class for the liches backend.
- async get_ephemeras(language: Optional[Literal['en', 'ru', 'ko', 'fr', 'sv', 'de', 'zh_hans', 'zh_hant', 'pt', 'es', 'pl']] = None) list[pytenno.models.liches.LichEphemera][source]
Gets all lich ephemeras.
- Parameters
language (Optional[VALID_LANGUAGES]) – The language of the ephemeras. Default:
None, meaning the default set during client construction.- Return type
Example
>>> async with PyTenno() as pytenno: >>> ephemeras = await pytenno.liches.get_ephemeras() >>> for ephemera in ephemeras: >>> print(ephemera.url_name)
- async get_quirks(language: Optional[Literal['en', 'ru', 'ko', 'fr', 'sv', 'de', 'zh_hans', 'zh_hant', 'pt', 'es', 'pl']] = None) list[pytenno.models.liches.LichQuirk][source]
Gets all lich quirks.
- Parameters
language (Optional[VALID_LANGUAGES]) – The language of the quirks. Default:
None, meaning the default set during client construction.- Return type
Example
>>> async with PyTenno() as pytenno: >>> quirks = await pytenno.liches.get_quirks() >>> for quirk in quirks: >>> print(quirk.url_name)
- async get_weapons(language: Optional[Literal['en', 'ru', 'ko', 'fr', 'sv', 'de', 'zh_hans', 'zh_hant', 'pt', 'es', 'pl']] = None) list[pytenno.models.liches.LichWeapon][source]
Gets all weapons.
- Parameters
language (Optional[VALID_LANGUAGES]) – The language of the weapons. Default:
None, meaning the default set during client construction.- Return type
Example
>>> async with PyTenno() as pytenno: >>> weapons = await pytenno.liches.get_weapons() >>> for weapon in weapons: >>> print(weapon.url_name)