Skip to main content

Interface: IHsrOptions

Represents the options for accessing the Hoyolab API.

Hierarchy

Properties

cookie: string | Pick<ICookie, "ltoken" | "ltuid" | "cookieToken" | "cookieTokenV2">

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

Inherited from

IHoyolabOptions.cookie

Defined in

src/client/hoyolab/hoyolab.interface.ts:19


lang

Optional lang: LanguageEnum

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

Inherited from

IHoyolabOptions.lang

Defined in

src/client/hoyolab/hoyolab.interface.ts:26


region

Optional region: HsrRegion

Defined in

src/client/hsr/hsr.interface.ts:14


uid

Optional uid: number

Defined in

src/client/hsr/hsr.interface.ts:13