UNPKG

node-hoyolab

Version:

node-hoyolab is an unofficial API Wrapper library developed to integrate with the Hoyolab, which provides a more convenient way to access the Hoyolab API.

10 lines (9 loc) 279 B
import { GenshinRegion } from './gi.interface'; /** * Get Genshin Impact region based on UID. * * @param uid User ID. * @returns Region for the UID. * @throws `NodeHoyoError` when the UID is invalid. */ export declare function getGenshinRegion(uid: number): GenshinRegion;