Skip to content

Genshin Card Plaza Models

card_plaza

Genshin TCG card plaza models.

Classes:

SPECIAL_ENERGY_TYPES module-attribute

SPECIAL_ENERGY_TYPES = {19, 20}

Character-specific energy, such as Mavuika's Fighting Spirit and Skirk's Serpent's Subtlety.

TCGDeck pydantic-model

TCG card plaza deck.

Fields:

action_cards pydantic-field

action_cards: Sequence[TCGDeckActionCard]

Action cards in the deck, duplicates included.

author_icon pydantic-field

author_icon: str

author_id pydantic-field

author_id: int

author_nickname pydantic-field

author_nickname: str

character_cards pydantic-field

character_cards: Sequence[TCGDeckCharacterCard]

comments pydantic-field

comments: int

created_at pydantic-field

created_at: UnixDateTime

description pydantic-field

description: str

favorites pydantic-field

favorites: int

id pydantic-field

id: str

label_ids pydantic-field

label_ids: Sequence[int]

likes pydantic-field

likes: int

share_code pydantic-field

share_code: str

tags pydantic-field

tags: Sequence[str]

title pydantic-field

title: str

video_cover_url pydantic-field

video_cover_url: str

video_url pydantic-field

video_url: str

views pydantic-field

views: int

TCGDeckActionCard pydantic-model

TCG card plaza action card.

Fields:

Validators:

cost pydantic-field

cost: int

cost_type pydantic-field

cost_type: Optional[Union[TCGDiceType, int]]

energy_cost pydantic-field

energy_cost: int

secondary_cost pydantic-field

secondary_cost: int

secondary_cost_type pydantic-field

secondary_cost_type: Optional[Union[TCGDiceType, int]]

tags pydantic-field

tags: Sequence[int]

type pydantic-field

TCGDeckActionCardEffect pydantic-model

TCG card plaza action card effect.

Fields:

Validators:

access pydantic-field

access: str

How to obtain the card.

cost pydantic-field

cost: int

cost_type pydantic-field

cost_type: Optional[Union[TCGDiceType, int]]

description pydantic-field

description: str

Description with HTML tags.

secondary_cost pydantic-field

secondary_cost: int

secondary_cost_type pydantic-field

secondary_cost_type: Optional[Union[TCGDiceType, int]]

TCGDeckCard pydantic-model

TCG card plaza card.

Fields:

Validators:

  • __flatten_basic

icon pydantic-field

icon: str

id pydantic-field

id: int

max_count pydantic-field

max_count: int

name pydantic-field

name: str

small_icon pydantic-field

small_icon: str

wiki_url pydantic-field

wiki_url: str

TCGDeckCardType

TCG card plaza card type.

Attributes:

CHARACTER class-attribute instance-attribute

CHARACTER = 0

Not returned by the API, character cards come from a separate endpoint.

EQUIPMENT class-attribute instance-attribute

EQUIPMENT = 2

EVENT class-attribute instance-attribute

EVENT = 5

SUPPORT class-attribute instance-attribute

SUPPORT = 6

TCGDeckCharacterCard pydantic-model

TCG card plaza character card.

Fields:

Validators:

  • __flatten_basic
  • __parse_element → element

burst_cost pydantic-field

burst_cost: int

Energy required to use the elemental burst.

element pydantic-field

health pydantic-field

health: int

TCGDeckComment pydantic-model

Comment on a TCG card plaza deck.

Fields:

Validators:

  • __flatten

author_icon pydantic-field

author_icon: str

author_id pydantic-field

author_id: int

author_nickname pydantic-field

author_nickname: str

content pydantic-field

content: str

id pydantic-field

id: int

likes pydantic-field

likes: int

replies pydantic-field

reply_count pydantic-field

reply_count: int

time pydantic-field

TCGDeckElement

TCG card plaza character element.

Attributes:

ANEMO class-attribute instance-attribute

ANEMO = 307

CRYO class-attribute instance-attribute

CRYO = 301

DENDRO class-attribute instance-attribute

DENDRO = 306

ELECTRO class-attribute instance-attribute

ELECTRO = 304

GEO class-attribute instance-attribute

GEO = 305

HYDRO class-attribute instance-attribute

HYDRO = 302

PYRO class-attribute instance-attribute

PYRO = 303

TCGDeckLabel pydantic-model

TCG card plaza label, such as a game mode or a boss challenge.

Fields:

children pydantic-field

id pydantic-field

id: int

is_hot pydantic-field

is_hot: bool

name pydantic-field

name: str

TCGDeckSkill pydantic-model

TCG card plaza character skill.

Fields:

costs pydantic-field

description pydantic-field

description: str

Description with HTML tags.

icon pydantic-field

icon: str

id pydantic-field

id: int

name pydantic-field

name: str

types pydantic-field

types: Sequence[str]

TCGDeckSkillCost pydantic-model

TCG card plaza character skill cost.

Fields:

Validators:

  • __parse_type → type

icon pydantic-field

icon: str

type pydantic-field

value pydantic-field

value: int

TCGDiceType

TCG card plaza dice cost type.

Attributes:

ANEMO class-attribute instance-attribute

ANEMO = 17

ARCANE_LEGEND class-attribute instance-attribute

ARCANE_LEGEND = 6

CRYO class-attribute instance-attribute

CRYO = 11

DENDRO class-attribute instance-attribute

DENDRO = 16

ELECTRO class-attribute instance-attribute

ELECTRO = 14

ENERGY class-attribute instance-attribute

ENERGY = 1

GEO class-attribute instance-attribute

GEO = 15

HYDRO class-attribute instance-attribute

HYDRO = 12

MATCHING class-attribute instance-attribute

MATCHING = 3

PYRO class-attribute instance-attribute

PYRO = 13

UNALIGNED class-attribute instance-attribute

UNALIGNED = 10