UNPKG

@yeci226/hoyoapi

Version:

HoYoAPI is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.

10 lines (9 loc) 270 B
import { ZZZRegion } from './zzz.interface'; /** * Get Zenless Zone Zero region based on UID. * * @param uid User ID. * @returns Region for the UID. * @throws `HoyoAPIError` when the UID is invalid. */ export declare function getZZZRegion(uid: number): ZZZRegion;