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_LANGUAGESfor 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.