# Interface: IHsrOptions
Represents the options for accessing the Hoyolab API.
# Hierarchy
-
↳
IHsrOptions
# Table of contents
# Properties
# Properties
# cookie
• cookie: string
| ICookie
The cookie used to authenticate the request. This can be either a string or an ICookie object.
# Inherited from
# Defined in
src/games/hoyolab/hoyolab.interface.ts:13 (opens new window)
# lang
• Optional
lang: LanguageEnum
The language to use for the request. This should be a value of LanguageEnum.
# Inherited from
# Defined in
src/games/hoyolab/hoyolab.interface.ts:18 (opens new window)
# region
• Optional
region: HsrRegion
# Defined in
src/games/hsr/hsr.interface.ts:6 (opens new window)
# uid
• Optional
uid: number