pytenno.models.auctions
- class pytenno.models.auctions.AuctionEntry(*, id: str, minimal_reputation: int, winner: Optional[str] = None, private: bool, visible: bool, note_raw: str, note: str, owner: str, starting_price: int, buyout_price: Optional[int] = None, minimal_increment: Optional[int] = None, is_direct_sell: bool, top_bid: Optional[int] = None, created: datetime, updated: datetime, platform: Platform, closed: bool, is_marked_for: Optional[AuctionMarking] = None, marked_operation_for: Optional[datetime] = None, item: Union[RivenAuction, LichAuction, KubrowAuction])[source]
Represents an auction entry.
- is_marked_for: pytenno.models.enums.AuctionMarking | None = None
Whether the auction is marked for a specific action.
- item: Union[RivenAuction, LichAuction, KubrowAuction]
The item of the auction.
- marked_operation_for: datetime.datetime | None = None
The time when the auction was marked for a specific operation.
- class pytenno.models.auctions.AuctionEntryExpanded(owner: UserShort, *, id: str, minimal_reputation: int, winner: Optional[str] = None, private: bool, visible: bool, note_raw: str, note: str, starting_price: int, buyout_price: Optional[int] = None, minimal_increment: Optional[int] = None, is_direct_sell: bool, top_bid: Optional[int] = None, created: datetime, updated: datetime, platform: Platform, closed: bool, is_marked_for: Optional[AuctionMarking] = None, marked_operation_for: Optional[datetime] = None, item: Union[RivenAuction, LichAuction, KubrowAuction])[source]
Same as AuctionEntry, but with a full user model for
.owner- is_marked_for: pytenno.models.enums.AuctionMarking | None = None
Whether the auction is marked for a specific action.
- item: Union[RivenAuction, LichAuction, KubrowAuction]
The item of the auction.
- marked_operation_for: datetime.datetime | None = None
The time when the auction was marked for a specific operation.
- class pytenno.models.auctions.KubrowAuction(type: AuctionType, name: str)[source]
Represents a kubrow auction.
- type: AuctionType
The type of the auction. In this case,
kubrow.
- class pytenno.models.auctions.LichAuction(*, type: AuctionType, weapon_url_name: str, element: Element, damage: int, having_ephemera: bool, quirk: Optional[str] = None, name: Optional[str] = None)[source]
Represents a lich auction.
- type: AuctionType
The type of the auction. In this case,
lich.
- class pytenno.models.auctions.RivenAuction(type: AuctionType, attributes: list[pytenno.models.rivens.PartialRivenAttribute], name: str, mastery_level: int, re_rolls: int, weapon_url_name: str, polarity: Polarity, mod_rank: int)[source]
Represents a riven auction.
- attributes: list[pytenno.models.rivens.PartialRivenAttribute]
The attributes of the riven.
- type: AuctionType
The type of the auction. In this case,
riven.