Skip to content

Honkai Stats Models

stats

Honkai stats models.

Classes:

  • FullHonkaiUserStats

    Represents a user's full stats, including characters, gear, and gamemode data

  • HonkaiStats

    Represents a user's stat page

  • HonkaiUserStats

    Represents basic user stats, showing only generic user data and stats.

__all__ module-attribute

__all__ = ['FullHonkaiUserStats', 'HonkaiStats', 'HonkaiUserStats']

ElysianRealmStats pydantic-model

Represents a user's stats regarding Elysian Realms.

Fields:

highest_difficulty pydantic-field

highest_difficulty: int

highest_floor pydantic-field

highest_floor: int

highest_score pydantic-field

highest_score: int

max_level_suits pydantic-field

max_level_suits: int

remembrance_sigils pydantic-field

remembrance_sigils: int

FullHonkaiUserStats pydantic-model

Represents a user's full stats, including characters, gear, and gamemode data

Fields:

abyss pydantic-field

abyss_superstring property

abyss_superstring: Sequence[SuperstringAbyss]

Filter self.abyss to only return instances of Superstring Abyss.

battlesuits pydantic-field

battlesuits: Sequence[FullBattlesuit]

elysian_realm pydantic-field

elysian_realm: Sequence[ElysianRealm]

memorial_arena pydantic-field

memorial_arena: Sequence[MemorialArena]

HonkaiStats pydantic-model

Represents a user's stat page

Fields:

Validators:

abyss pydantic-field

achievements pydantic-field

achievements: int

active_days pydantic-field

active_days: int

battlesuits pydantic-field

battlesuits: int

battlesuits_SSS pydantic-field

battlesuits_SSS: int

elysian_realm pydantic-field

elysian_realm: ElysianRealmStats

memorial_arena pydantic-field

memorial_arena: MemorialArenaStats

outfits pydantic-field

outfits: int

stigmata pydantic-field

stigmata: int

stigmata_5star pydantic-field

stigmata_5star: int

weapons pydantic-field

weapons: int

weapons_5star pydantic-field

weapons_5star: int

__pack_gamemode_stats pydantic-validator

__pack_gamemode_stats(values: dict[str, Any]) -> dict[str, Any]

HonkaiUserStats pydantic-model

Represents basic user stats, showing only generic user data and stats.

Fields:

info pydantic-field

info: UserInfo

stats pydantic-field

stats: HonkaiStats

MemorialArenaStats pydantic-model

Represents a user's stats regarding the Memorial Arena gamemodes.

Fields:

Validators:

rank property

rank: str

The user's Memorial Arena rank as displayed in-game.

ranking pydantic-field

ranking: float

raw_rank pydantic-field

raw_rank: int

raw_tier pydantic-field

raw_tier: int

score pydantic-field

score: int

__normalize_ranking pydantic-validator

__normalize_ranking(value: Union[str, float]) -> float

OldAbyssStats pydantic-model

Represents a user's stats regarding Q-Singularis and Dirac Sea.

Config:

  • frozen: False

Fields:

Validators:

latest_type pydantic-field

latest_type: str

model_config class-attribute instance-attribute

model_config: ConfigDict = ConfigDict(frozen=False)

raw_dirac_sea_rank pydantic-field

raw_dirac_sea_rank: Optional[int]

raw_latest_rank pydantic-field

raw_latest_rank: Optional[int]

raw_q_singularis_rank pydantic-field

raw_q_singularis_rank: Optional[int]

raw_tier pydantic-field

raw_tier: int

score pydantic-field

score: int

__normalize_rank pydantic-validator

__normalize_rank(rank: Optional[str]) -> Optional[int]

SuperstringAbyssStats pydantic-model

Represents a user's stats regarding Superstring Abyss.

Fields:

latest_type class-attribute

latest_type: str = 'Superstring'

raw_rank pydantic-field

raw_rank: int

raw_tier pydantic-field

raw_tier: int

score pydantic-field

score: int

trophies pydantic-field

trophies: int