pytenno.client

The main module for the PyTenno client.

class pytenno.client.PyTenno(default_language: Optional[Literal['en', 'ru', 'ko', 'fr', 'sv', 'de', 'zh_hans', 'zh_hant', 'pt', 'es', 'pl']] = 'en', default_platform: Platform = Platform.pc, silenced_errors: list[Exception] = [])[source]

The primary class for interaction with the warframe.market API endpoints. This must be used in an asynchronous context manager.

Parameters
  • default_language (str) – The default language used when communicating with the API. See VALID_LANGUAGES for valid values.

  • default_platform (Platform) – The default platform used when communicating with the API.

  • silenced_errors (list[Exception]) – A list of errors that will be silenced when raised by the API. Instead of raising the error, the function will return None.

Example

>>> async with PyTenno() as tenno:
>>>     current_user = await tenno.Auth.login(username="username", password="password")
>>>     print(current_user.ingame_name)
auction_entries: AuctionEntries

The AuctionEntries interface.

auctions: Auctions

The Auctions interface.

auth: Auth

The Auth interface.

async close() None[source]

Closes the client’s aiohttp session.

items: Items

The Items interface.

liches: Liches

The Liches interface.

misc: Misc

The Misc interface.

profile: Profile

The Profile interface.

rivens: Rivens

The Rivens interface.