Skip to main content

Interface: IHoyolabOptions

Represents the options for accessing the Hoyolab API.

Hierarchy

Properties

cookie: string | ICookie

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

Defined in

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


lang

Optional lang: LanguageEnum

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

Defined in

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