pytenno.interface.auction_entries
Module holding the AuctionEntries interface class.
- class pytenno.interface.auction_entries.AuctionEntries(backend: AuctionEntriesBackend)[source]
The AuctionEntries interface class.
- async get_bids_by_id(auction_id: str) AuctionEntryExpanded[source]
Gets all bids for a specific auction entry by ID.
- Parameters
auction_id (str) – The ID of the auction entry to get bids for.
- Return type
Example
>>> async with PyTenno() as tenno: >>> auction = await tenno.AuctionEntries.get_bids_by_id("...") >>> print(auction.owner.ingame_name, auction.platinum)
- async get_by_id(auction_id: str) AuctionEntryExpanded[source]
Gets a specific auction entry by ID.
- Parameters
auction_id (str) – The ID of the auction entry to get.
- Return type
Example
>>> async with PyTenno() as tenno: >>> auction = await tenno.AuctionEntries.get_by_id("...") >>> print(auction.owner.ingame_name, auction.platinum)