🔷
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 Item
  • class Items
  1. Models
  2. League of Legends

Item

Module: pyot.models.lol.item

class Item

Type: PyotCore

Definitions:

  • __init__ -> None

    • id: int = empty

    • version: str = models.lol.DEFAULT_VERSION

    • locale: str = models.lol.DEFAULT_LOCALE

Endpoints:

  • cdragon_item_full: ['version', 'locale', '?id']

Attributes:

  • id -> int

  • name -> str

  • description -> str

  • active -> bool

  • in_store -> bool

  • from_ids -> List[int]

  • to_ids -> List[int]

  • categories -> List[str]

  • maps -> List[str]

  • max_stacks -> int

  • modes -> List[str]

  • required_champion_key -> str

  • required_ally -> str

  • required_currency -> str

  • required_currency_cost -> int

  • is_enchantment -> bool

  • special_recipe_id -> int

  • self_cost -> int

  • total_cost -> int

  • icon_path -> str

Properties:

  • property from_items -> List[ForwardRef(Item)]

  • property meraki_item -> MerakiItem

  • property required_champion -> Champion

  • property special_recipe -> Item

  • property to_items -> List[ForwardRef(Item)]

class Items

Type: PyotCore

Definitions:

  • __init__ -> None

    • version: str = models.lol.DEFAULT_VERSION

    • locale: str = models.lol.DEFAULT_LOCALE

  • __iter__ -> Iterator[pyot.models.lol.item.Item]

  • __len__ -> int

Endpoints:

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

Attributes:

  • items -> List[pyot.models.lol.item.Item]

PreviousClashNextLeague

Last updated 2 years ago