🔷
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 CurrentGame
  • class FeaturedGames
  • class CurrentGameBansData
  • class CurrentGameParticipantCustomizationData
  • class CurrentGameParticipantData
  • class CurrentGameTeamData
  • class FeaturedGameData
  • class FeaturedGameParticipantData
  • class FeaturedGameTeamData
  1. Models
  2. League of Legends

Spectator

Module: pyot.models.lol.spectator

class CurrentGame

Type: PyotCore

Extends:

  • pyot.models.lol.spectator.FeaturedGameData

Definitions:

  • __init__ -> None

    • summoner_id: str = empty

    • platform: str = models.lol.DEFAULT_PLATFORM

Endpoints:

  • spectator_v4_current_game: ['summoner_id']

Attributes:

  • id -> int

  • type -> str

  • mode -> str

  • start_time_millis -> int

  • length_secs -> int

  • map_id -> int

  • platform -> str

  • queue_id -> int

  • observers_key -> str

  • teams -> List[pyot.models.lol.spectator.CurrentGameTeamData]

  • summoner_id -> str

Properties:

  • property banned_champions -> List[pyot.models.lol.spectator.CurrentGameBansData]

  • property blue_team -> pyot.models.lol.spectator.CurrentGameTeamData

  • property participants -> List[pyot.models.lol.spectator.CurrentGameParticipantData]

  • property red_team -> pyot.models.lol.spectator.CurrentGameTeamData

  • property summoner -> Summoner

class FeaturedGames

Type: PyotCore

Definitions:

  • __init__ -> None

    • platform: str = models.lol.DEFAULT_PLATFORM

  • __iter__ -> Iterator[pyot.models.lol.spectator.FeaturedGameData]

  • __len__ -> int

Endpoints:

  • spectator_v4_featured_games: []

Attributes:

  • games -> List[pyot.models.lol.spectator.FeaturedGameData]

  • refresh_interval_secs -> int

Properties:

  • property refresh_interval -> datetime.timedelta

class CurrentGameBansData

Type: PyotStatic

Attributes:

  • pick_turn -> int

  • champion_id -> int

  • team_id -> int

Properties:

  • property champion -> Champion

  • property meraki_champion -> MerakiChampion

class CurrentGameParticipantCustomizationData

Type: PyotStatic

Attributes:

  • category -> str

  • content -> str

class CurrentGameParticipantData

Type: PyotStatic

Attributes:

  • team_id -> int

  • champion_id -> int

  • profile_icon_id -> int

  • is_bot -> bool

  • summoner_name -> str

  • summoner_id -> str

  • spell_ids -> List[int]

  • rune_ids -> List[int]

  • rune_main_style -> int

  • rune_sub_style -> int

  • game_customization_objects -> List[pyot.models.lol.spectator.CurrentGameParticipantCustomizationData]

  • position -> str

Properties:

  • property champion -> Champion

  • property meraki_champion -> MerakiChampion

  • property profile_icon -> ProfileIcon

  • property runes -> List[ForwardRef(Rune)]

  • property spells -> List[ForwardRef(Spell)]

  • property summoner -> Summoner

class CurrentGameTeamData

Type: PyotStatic

Attributes:

  • id -> int

  • bans -> List[pyot.models.lol.spectator.CurrentGameBansData]

  • participants -> List[pyot.models.lol.spectator.CurrentGameParticipantData]

class FeaturedGameData

Type: PyotStatic

Attributes:

  • id -> int

  • type -> str

  • mode -> str

  • start_time_millis -> int

  • length_secs -> int

  • map_id -> int

  • platform -> str

  • queue_id -> int

  • observers_key -> str

  • teams -> List[pyot.models.lol.spectator.FeaturedGameTeamData]

Properties:

  • property banned_champions -> List[pyot.models.lol.spectator.CurrentGameBansData]

  • property blue_team -> pyot.models.lol.spectator.FeaturedGameTeamData

  • property length -> datetime.timedelta

  • property participants -> List[pyot.models.lol.spectator.FeaturedGameParticipantData]

  • property red_team -> pyot.models.lol.spectator.FeaturedGameTeamData

  • property start_time -> datetime.datetime

class FeaturedGameParticipantData

Type: PyotStatic

Attributes:

  • team_id -> int

  • champion_id -> int

  • profile_icon_id -> int

  • is_bot -> bool

  • summoner_name -> str

  • spell_ids -> List[int]

  • position -> str

Properties:

  • property champion -> Champion

  • property meraki_champion -> MerakiChampion

  • property profile_icon -> ProfileIcon

  • property spells -> List[ForwardRef(Spell)]

  • property summoner -> Summoner

class FeaturedGameTeamData

Type: PyotStatic

Attributes:

  • id -> int

  • bans -> List[pyot.models.lol.spectator.CurrentGameBansData]

  • participants -> List[pyot.models.lol.spectator.FeaturedGameParticipantData]

PreviousRuneNextSpell

Last updated 2 years ago