🔷
Pyot Documentation
  • Pyot Documentation
  • Cores
    • Installation
    • Configuration
    • Objects
    • Concurrency
    • Resources
    • Exceptions
    • Warnings
  • Examples
    • Single File
    • Multi Root
    • Module Based
  • Pipeline
    • Expirations
    • Handler
    • Object
    • Token
  • Stores
    • CDragon
    • DDragon
    • DiskCache
    • DjangoCache
    • MerakiCDN
    • MongoDB
    • Omnistone
    • RedisCache
    • RiotAPI
  • Limiters
    • MemoryLimiter
    • RedisLimiter
  • Models
    • League of Legends
      • Champion
      • Championmastery
      • Championrotation
      • Clash
      • Item
      • League
      • Match
      • Merakichampion
      • Merakiitem
      • Profileicon
      • Rune
      • Spectator
      • Spell
      • Status
      • Summoner
      • Thirdpartycode
      • Tournament
    • Legends of Runeterra
      • Card
      • Match
      • Ranked
      • Status
    • Riot Services
      • Account
    • Teamfight Tactics
      • Champion
      • Item
      • League
      • Match
      • Profileicon
      • Summoner
      • Thirdpartycode
      • Trait
    • Valorant
      • Content
      • Match
      • Ranked
      • Status
  • Utils
    • LoL
      • Cdragon
      • Champion
      • Routing
    • LoR
      • Cards
    • Tft
      • Cdragon
      • Routing
    • Aiohttp
    • Copy
    • Functools
    • Importlib
    • Itertools
    • Logging
    • Nullsafe
    • Safejson
    • Sync
    • Text
    • Threading
  • Integrations
    • Django
    • FastAPI
    • Celery
  • Changelog
    • 5.x.x
    • 6.x.x
Powered by GitBook
On this page
  • class Champion
  • class Champions
  • class ChampionAbilityData
  • class ChampionChromaDescriptionsData
  • class ChampionChromaRaritiesData
  • class ChampionPassiveData
  • class ChampionPlayerStyleData
  • class ChampionSkinChromaData
  • class ChampionSkinData
  • class ChampionSpellData
  • class ChampionTacticalData
  1. Models
  2. League of Legends

Champion

Module: pyot.models.lol.champion

class Champion

Type: PyotCore

Definitions:

  • __init__ -> None

    • id: int = empty

    • key: str = empty

    • name: str = empty

    • version: str = models.lol.DEFAULT_VERSION

    • locale: str = models.lol.DEFAULT_LOCALE

Endpoints:

  • cdragon_champion_by_id: ['version', 'locale', 'id']

Attributes:

  • id -> int

  • key -> str

  • name -> str

  • lore -> str

  • tactical_info -> pyot.models.lol.champion.ChampionTacticalData

  • play_style -> pyot.models.lol.champion.ChampionPlayerStyleData

  • square_path -> str

  • stinger_sfx_path -> str

  • choose_vo_path -> str

  • ban_vo_path -> str

  • roles -> List[str]

  • skins -> List[pyot.models.lol.champion.ChampionSkinData]

  • abilities -> pyot.models.lol.champion.ChampionAbilityData

  • passive -> pyot.models.lol.champion.ChampionPassiveData

  • title -> str

  • recommended_item_defaults -> List[str]

Properties:

  • property meraki_champion -> MerakiChampion

class Champions

Type: PyotCore

Definitions:

  • __init__ -> None

    • version: str = models.lol.DEFAULT_VERSION

    • locale: str = models.lol.DEFAULT_LOCALE

  • __iter__ -> Iterator[pyot.models.lol.champion.Champion]

  • __len__ -> int

Endpoints:

  • cdragon_champion_summary: ['version', 'locale']

Attributes:

  • champions -> List[pyot.models.lol.champion.Champion]

class ChampionAbilityData

Type: PyotStatic

Attributes:

  • p -> pyot.models.lol.champion.ChampionPassiveData

  • q -> pyot.models.lol.champion.ChampionSpellData

  • w -> pyot.models.lol.champion.ChampionSpellData

  • e -> pyot.models.lol.champion.ChampionSpellData

  • r -> pyot.models.lol.champion.ChampionSpellData

class ChampionChromaDescriptionsData

Type: PyotStatic

Attributes:

  • region -> str

  • description -> str

class ChampionChromaRaritiesData

Type: PyotStatic

Attributes:

  • region -> str

  • description -> str

  • rarity -> int

class ChampionPassiveData

Type: PyotStatic

Attributes:

  • name -> str

  • icon_path -> str

  • description -> str

  • ability_video_path -> str

  • ability_video_image_path -> str

class ChampionPlayerStyleData

Type: PyotStatic

Attributes:

  • damage -> int

  • durability -> int

  • crowd_control -> int

  • mobility -> int

  • utility -> int

class ChampionSkinChromaData

Type: PyotStatic

Attributes:

  • id -> int

  • name -> str

  • chroma_path -> str

  • colors -> List[str]

  • descriptions -> List[pyot.models.lol.champion.ChampionChromaDescriptionsData]

  • rarities -> List[pyot.models.lol.champion.ChampionChromaRaritiesData]

class ChampionSkinData

Type: PyotStatic

Attributes:

  • id -> int

  • is_base -> bool

  • name -> str

  • splash_path -> str

  • uncentered_splash_path -> str

  • tile_path -> str

  • load_screen_path -> str

  • load_screen_vintage_path -> str

  • skin_type -> str

  • rarity -> str

  • is_legacy -> bool

  • chroma_path -> str

  • chromas -> List[pyot.models.lol.champion.ChampionSkinChromaData]

  • emblems -> List[str]

  • skin_line -> int

  • description -> str

  • splash_video_path -> str

  • collection_splash_video_path -> str

  • features_text -> str

  • region_rarity_id -> int

  • rarity_gem_path -> str

class ChampionSpellData

Type: PyotStatic

Attributes:

  • key -> str

  • name -> str

  • icon_path -> str

  • cost -> List[float]

  • cooldown -> List[float]

  • range -> List[float]

  • description -> str

  • long_description -> str

  • ability_video_path -> str

  • ability_video_image_path -> str

  • max_level -> int

  • formulas -> Dict

  • coefficients -> Dict[str, float]

  • effect_amounts -> Dict[str, List[float]]

  • ammo -> Dict[str, List[float]]

class ChampionTacticalData

Type: PyotStatic

Attributes:

  • style -> int

  • difficulty -> int

  • damage_type -> str

PreviousLeague of LegendsNextChampionmastery

Last updated 2 years ago