@yeci226/hoyoapi
Version:
HoYoAPI is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.
30 lines (29 loc) • 674 B
TypeScript
import { IHoyolabOptions } from '../hoyolab';
/**
* An enum representing Honkai servers region.
*/
export declare enum HonkaiRegion {
/** United States */
USA = "usa01",
/** Europe */
EUROPE = "eur01",
/** Asia */
ASIA = "overseas01"
}
export type HonkaiRegionKeyType = keyof typeof HonkaiRegion;
/**
* Interface representing the options for the Honkai Impact API.
* Inherits from `IHoyolabOptions`.
*
* @interface
*/
export interface IHi3Options extends IHoyolabOptions {
/**
* The UID of the Honkai Impact player.
*/
uid?: number;
/**
* The region of the Honkai Impact player.
*/
region?: HonkaiRegion;
}