Interface IHi3Options

Interface representing the options for the Honkai Impact API. Inherits from IHoyolabOptions.

interface IHi3Options {
    cookie: string | Pick<ICookie,
        | "ltokenV2"
        | "ltuidV2"
        | "cookieToken"
        | "cookieTokenV2">;
    lang?: LanguageEnum;
    region?: HonkaiRegion;
    uid?: number;
}

Hierarchy (view full)

Properties

cookie: string | Pick<ICookie,
    | "ltokenV2"
    | "ltuidV2"
    | "cookieToken"
    | "cookieTokenV2">

The cookie used to authenticate the request. This can be either a string or an ICookie object.

The language to use for the request. This should be a value of LanguageEnum.

region?: HonkaiRegion

The region of the Honkai Impact player.

uid?: number

The UID of the Honkai Impact player.