Product

Price

Bases: BaseModel

The Price object contains information used in a product property.

ATTRIBUTE DESCRIPTION
cents

TYPE: int

currency

TYPE: str

currency_symbol

TYPE: str

formatted

TYPE: str

Functions

remove_blank_strings(value: str)

Pydantic validator to convert str to None or return value.

Expansion

Bases: BaseModel

The Expansion object contains information used in a product property.

ATTRIBUTE DESCRIPTION
code

TYPE: str

expansion_id

TYPE: int

name

TYPE: str

Functions

remove_blank_strings(value: str)

Pydantic validator to convert str to None or return value.

User

Bases: BaseModel

The User object contains information used in a product property.

ATTRIBUTE DESCRIPTION
can_sell_sealed_with_ct_zero

TYPE: bool

can_sell_via_hub

TYPE: bool

country_code

TYPE: str

user_id

TYPE: int

too_many_request_for_cancel_as_seller

TYPE: bool

user_type

TYPE: str

username

TYPE: str

max_sellable_in24h_quantity

TYPE: Optional[int]

Functions

remove_blank_strings(value: str)

Pydantic validator to convert str to None or return value.

Product

Bases: BaseModel

The Product object contains information for a product.

ATTRIBUTE DESCRIPTION
blueprint_id

Identifier used by CardTrader.

TYPE: int

bundle_size

TYPE: int

expansion

TYPE: Expansion

product_id

Identifier used by CardTrader.

TYPE: int

name

TYPE: str

on_vacation

TYPE: bool

price

TYPE: Price

price_cents

TYPE: int

price_currency

TYPE: str

quantity

TYPE: int

seller

TYPE: User

description

TYPE: Optional[str]

graded

TYPE: Optional[bool]

layered_price_cents

TYPE: Optional[int]

properties

TYPE: Dict[str, Optional[Union[str, bool]]]

tag

TYPE: Optional[str]

Functions

remove_blank_strings(value: str)

Pydantic validator to convert str to None or return value.