Spectator¶
- cassiopeia.Summoner.current_match¶
- cassiopeia.get_featured_matches() FeaturedMatches ¶
- class cassiopeia.FeaturedMatches(*args, **kwargs)[source]¶
Bases:
CassiopeiaLazyList
- append(item)¶
Append object to the end of the list.
- clear()¶
Remove all items from list.
- client_refresh_interval¶
- copy()¶
Return a shallow copy of the list.
- count(object)¶
Return number of occurrences of value.
- extend(iterable)¶
Extend list by appending elements from the iterable.
- filter(function)¶
- classmethod from_data(*args, **kwargs)¶
- index(object, start: int = 0, stop: int = 9223372036854775807)¶
Return first index of value.
Raises ValueError if the value is not present.
- platform¶
- pop(index: int = - 1)¶
Remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- region¶
- remove(object)¶
Remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse()¶
Reverse IN PLACE.
- search(item: Any, streaming: bool = False, reverse: bool = False) Union[SearchableList, Generator[Any, None, None]] ¶
- sort(*, key=None, reverse=False)¶
Stable sort IN PLACE.
- to_dict()¶
- to_json(**kwargs)¶
- class cassiopeia.core.spectator.CurrentMatch(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
Searchable by []
- blue_team¶
- creation¶
- duration¶
- exists¶
- id¶
- map¶
- mode¶
- observer_key¶
- participants¶
- platform¶
- queue¶
- red_team¶
- region¶
- teams¶
- type¶