Skip to content

Genshin Stats Models

stats

Classes:

__all__ module-attribute

__all__ = ['AreaExploration', 'BossKill', 'Exploration', 'FullGenshinUserStats', 'GenshinUserStats', 'NatlanReputation', 'NatlanTribe', 'Offering', 'PartialGenshinUserStats', 'Stats', 'Teapot', 'TeapotRealm']

AreaExploration pydantic-model

Area exploration data.

Fields:

explored property

explored: float

The percentage explored. (Note: This can go above 100%)

name pydantic-field

name: str

raw_explored pydantic-field

raw_explored: int

BossKill pydantic-model

Boss kills in exploration

Fields:

kills pydantic-field

kills: int

name pydantic-field

name: str

Exploration pydantic-model

Exploration data.

Fields:

Validators:

area_exploration_list pydantic-field

area_exploration_list: Sequence[AreaExploration]

background_image pydantic-field

background_image: str

boss_list pydantic-field

boss_list: Sequence[BossKill]

cover pydantic-field

cover: str

explored property

explored: float

The percentage explored.

icon pydantic-field

icon: str

id pydantic-field

id: int

inner_icon pydantic-field

inner_icon: str

level pydantic-field

level: int

map_url pydantic-field

map_url: str

name pydantic-field

name: str

natlan_reputation pydantic-field

natlan_reputation: Optional[NatlanReputation] = None

offerings pydantic-field

offerings: Sequence[Offering]

parent_id pydantic-field

parent_id: int

raw_explored pydantic-field

raw_explored: int

type pydantic-field

type: str

__add_base_offering pydantic-validator

__add_base_offering(offerings: Sequence[Any], info: ValidationInfo) -> Sequence[Any]

FullGenshinUserStats pydantic-model

User stats with all data a user can have

Fields:

Validators:

abyss pydantic-field

abyss: SpiralAbyssPair

activities pydantic-field

activities: Activities

GenshinUserStats pydantic-model

User stats with characters with equipment

Fields:

Validators:

characters pydantic-field

characters: Sequence[Character]

ImgTheaterStats pydantic-model

Imaginarium Theater stats.

Fields:

has_data pydantic-field

has_data: bool

has_detail_data pydantic-field

has_detail_data: bool

max_act pydantic-field

max_act: int

unlocked pydantic-field

unlocked: bool

NatlanReputation pydantic-model

Natlan reputation data.

Fields:

tribes pydantic-field

NatlanTribe pydantic-model

Natlan tribe data.

Fields:

icon pydantic-field

icon: str

id pydantic-field

id: int

image pydantic-field

image: str

level pydantic-field

level: int

name pydantic-field

name: str

Offering pydantic-model

Exploration offering.

Fields:

icon pydantic-field

icon: str = ''

level pydantic-field

level: int

name pydantic-field

name: str

PartialGenshinUserStats pydantic-model

User stats with characters without equipment.

Fields:

Validators:

characters pydantic-field

explorations pydantic-field

explorations: Sequence[Exploration]

info pydantic-field

info: UserInfo

stats pydantic-field

stats: Stats

teapot pydantic-field

teapot: Optional[Teapot]

__format_characters pydantic-validator

__format_characters(v: Sequence[Any]) -> Sequence[Any]

__format_teapot pydantic-validator

__format_teapot(v: Any) -> Optional[dict[str, Any]]

Stats pydantic-model

Overall user stats.

Fields:

achievements pydantic-field

achievements: int

anemoculi pydantic-field

anemoculi: int

characters pydantic-field

characters: int

common_chests pydantic-field

common_chests: int

days_active pydantic-field

days_active: int

dendroculi pydantic-field

dendroculi: int

electroculi pydantic-field

electroculi: int

exquisite_chests pydantic-field

exquisite_chests: int

geoculi pydantic-field

geoculi: int

hydroculi pydantic-field

hydroculi: int

lunoculi pydantic-field

lunoculi: int

luxurious_chests pydantic-field

luxurious_chests: int

max_friendship_characters pydantic-field

max_friendship_characters: int

precious_chests pydantic-field

precious_chests: int

pyroculi pydantic-field

pyroculi: int

remarkable_chests pydantic-field

remarkable_chests: int

spiral_abyss pydantic-field

spiral_abyss: str

stygian pydantic-field

theater pydantic-field

theater: ImgTheaterStats

unlocked_domains pydantic-field

unlocked_domains: int

unlocked_waypoints pydantic-field

unlocked_waypoints: int

StygianOnslaughtStats pydantic-model

Stygian Onslaught stats.

Fields:

difficulty pydantic-field

difficulty: int

has_data pydantic-field

has_data: bool

name pydantic-field

name: str

unlocked pydantic-field

unlocked: bool

Teapot pydantic-model

User's Serenitea Teapot.

Fields:

comfort pydantic-field

comfort: int

comfort_icon pydantic-field

comfort_icon: str

comfort_name pydantic-field

comfort_name: str

items pydantic-field

items: int

level pydantic-field

level: int

realms pydantic-field

visitors pydantic-field

visitors: int

TeapotRealm pydantic-model

A specific teapot realm.

Fields:

icon pydantic-field

icon: str

id property

id: int

name pydantic-field

name: str