Skip to content

API Reference

GIElement

Bases: StrEnum

Represent a Genshin Impact element.

Source code in hakushin/enums.py
class GIElement(StrEnum):
    """Represent a Genshin Impact element."""

    HYDRO = "Hydro"
    PYRO = "Pyro"
    CRYO = "Cryo"
    ELECTRO = "Electro"
    ANEMO = "Anemo"
    GEO = "Geo"
    DENDRO = "Dendro"

Game

Bases: StrEnum

Represent games supported by the Hakushin API.

Source code in hakushin/enums.py
class Game(StrEnum):
    """Represent games supported by the Hakushin API."""

    GI = "gi"
    """Genshin Impact."""
    HSR = "hsr"
    """Honkai: Star Rail."""
    ZZZ = "zzz"
    """Zenless Zone Zero."""

GI = 'gi' class-attribute instance-attribute

Genshin Impact.

HSR = 'hsr' class-attribute instance-attribute

Honkai: Star Rail.

ZZZ = 'zzz' class-attribute instance-attribute

Zenless Zone Zero.

HSRElement

Bases: StrEnum

Represent an HSR element.

Source code in hakushin/enums.py
class HSRElement(StrEnum):
    """Represent an HSR element."""

    ICE = "Ice"
    FIRE = "Fire"
    THUNDER = "Thunder"
    WIND = "Wind"
    PHYSICAL = "Physical"
    QUANTUM = "Quantum"
    IMAGINARY = "Imaginary"

HSREndgameType

Bases: StrEnum

Represent an HSR endgame.

Source code in hakushin/enums.py
class HSREndgameType(StrEnum):
    """Represent an HSR endgame."""

    MEMORY_OF_CHAOS = "maze"
    PURE_FICTION = "story"
    APOCALYPTIC_SHADOW = "boss"

HSRPath

Bases: StrEnum

Represent an HSR character path.

Source code in hakushin/enums.py
class HSRPath(StrEnum):
    """Represent an HSR character path."""

    PRESERVATION = "Knight"
    THE_HUNT = "Rogue"
    DESTRUCTION = "Warrior"
    ERUDITION = "Mage"
    HARMONY = "Shaman"
    NIHILITY = "Warlock"
    ABUNDANCE = "Priest"
    REMEMBRANCE = "Memory"

Language

Bases: StrEnum

Represent languages supported by the Hakushin API.

Source code in hakushin/enums.py
class Language(StrEnum):
    """Represent languages supported by the Hakushin API."""

    EN = "en"
    """English."""
    ZH = "zh"
    """Simple Chinese."""
    KO = "ko"
    """Korean."""
    JA = "ja"
    """Japanese."""

EN = 'en' class-attribute instance-attribute

English.

JA = 'ja' class-attribute instance-attribute

Japanese.

KO = 'ko' class-attribute instance-attribute

Korean.

ZH = 'zh' class-attribute instance-attribute

Simple Chinese.

ZZZAttackType

Bases: IntEnum

Represent a ZZZ character attack type.

Source code in hakushin/enums.py
class ZZZAttackType(IntEnum):
    """Represent a ZZZ character attack type."""

    SLASH = 101
    STRIKE = 102
    PIERCE = 103

ZZZElement

Bases: IntEnum

Represent a ZZZ character element.

Source code in hakushin/enums.py
class ZZZElement(IntEnum):
    """Represent a ZZZ character element."""

    PHYSICAL = 200
    FIRE = 201
    ICE = 202
    ELECTRIC = 203
    ETHER = 205

ZZZSkillType

Bases: StrEnum

Represent a ZZZ character skill type.

Source code in hakushin/enums.py
class ZZZSkillType(StrEnum):
    """Represent a ZZZ character skill type."""

    BASIC = "Basic"
    DODGE = "Dodge"
    SPECIAL = "Special"
    CHAIN = "Chain"
    ASSIST = "Assist"

ZZZSpecialty

Bases: IntEnum

Represent a ZZZ character specialty.

Source code in hakushin/enums.py
class ZZZSpecialty(IntEnum):
    """Represent a ZZZ character specialty."""

    ATTACK = 1
    STUN = 2
    ANOMALY = 3
    SUPPORT = 4
    DEFENSE = 5
    RUPTURE = 6