Skip to content

Genshin TCG Models

tcg

Genshin serenitea pot replica display models.

Classes:

TCGBaseCard pydantic-model

TCG card.

Fields:

image_tags pydantic-field

image_tags: Sequence[str]

name pydantic-field

name: str

proficiency pydantic-field

proficiency: int

rank_id pydantic-field

rank_id: int

type pydantic-field

usages pydantic-field

usages: int

wiki_url pydantic-field

wiki_url: str

TCGCard pydantic-model

TCG equipment card.

Fields:

cost pydantic-field

description pydantic-field

description: str

type pydantic-field

TCGCardType

TCG card type.

Attributes:

ASSIST class-attribute instance-attribute

ASSIST = 'CardTypeAssist'

CHARACTER class-attribute instance-attribute

CHARACTER = 'CardTypeCharacter'

EQUIPMENT class-attribute instance-attribute

EQUIPMENT = 'CardTypeModify'

EVENT class-attribute instance-attribute

EVENT = 'CardTypeEvent'

TCGCharacterCard pydantic-model

TCG character card.

Fields:

health pydantic-field

health: int

name pydantic-field

name: str

talents pydantic-field

type pydantic-field

TCGCharacterTalent pydantic-model

TCG character talent.

Fields:

description pydantic-field

description: str

id pydantic-field

id: int

name pydantic-field

name: str

type pydantic-field

type: str

TCGCost pydantic-model

TCG cost.

Fields:

Validators:

element pydantic-field

element: str

value pydantic-field

value: int

TCGMatch pydantic-model

TCG match.

Fields:

game_id pydantic-field

game_id: str

is_win pydantic-field

is_win: bool

opponent pydantic-field

opponent: TCGMatchPlayer

player pydantic-field

time pydantic-field

time: DateTime

type pydantic-field

type: str

TCGMatchPlayer pydantic-model

TCG match player.

Fields:

lineup pydantic-field

lineup: Sequence[str]

Icons of the character cards in the deck.

name pydantic-field

name: str

TCGMatches pydantic-model

TCG match history.

Fields:

favorites pydantic-field

favorites: Sequence[TCGMatch]

recent pydantic-field

recent: Sequence[TCGMatch]

TCGPartialCard pydantic-model

Partial TCG card data.

Fields:

id pydantic-field

id: int

image pydantic-field

image: str

TCGPreview pydantic-model

Preview of TCG stats.

Fields:

action_cards pydantic-field

action_cards: int

cards pydantic-field

character_cards pydantic-field

character_cards: int

level pydantic-field

level: int

nickname pydantic-field

nickname: str

total_action_cards pydantic-field

total_action_cards: int

total_character_cards pydantic-field

total_character_cards: int