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.

42 lines (41 loc) 2.32 kB
import { GamesEnum } from '../client/hoyolab'; export declare const BBS_API = "https://bbs-api-os.hoyolab.com"; export declare const ACCOUNT_API = "https://api-account-os.hoyolab.com"; export declare const HK4E_API = "https://sg-hk4e-api.hoyolab.com"; export declare const PUBLIC_API = "https://sg-public-api.hoyolab.com"; export declare const DEFAULT_REFERER = "https://hoyolab.com"; export declare const SG_ACT = "https://sg-act-nap-api.hoyolab.com"; export declare const USER_GAMES_LIST: string; export declare const GAME_RECORD_CARD_API: string; export declare const DAILY_INFO_API: (game: GamesEnum) => string; export declare const DAILY_REWARD_API: (game: GamesEnum) => string; export declare const DAILY_CLAIM_API: (game: GamesEnum) => string; export declare const REDEEM_CLAIM_API: string; export declare const GENSHIN_RECORD_INDEX_API: string; export declare const GENSHIN_RECORD_CHARACTER_API: string; export declare const GENSHIN_RECORD_AVATAR_BASIC_INFO_API: string; export declare const GENSHIN_RECORD_SPIRAL_ABYSS_API: string; export declare const GENSHIN_RECORD_DAILY_NOTE_API: string; export declare const GENSHIN_DIARY_LIST_API: string; export declare const GENSHIN_DIARY_DETAIL_API: string; export declare const GENSHIN_TCG_BASICINFO: string; export declare const GENSHIN_TCG_CARDLIST: string; export declare const GENSHIN_TCG_MATCHLIST: string; export declare const GENSHIN_TCG_CHALLANGE_SCHEDULE: string; export declare const GENSHIN_TCG_CHALLANGE_RECORD: string; export declare const GENSHIN_TCG_CHALLANGE_DECK: string; export declare const HSR_RECORD_CHARACTER_API: string; export declare const HSR_RECORD_INDEX_API: string; export declare const HSR_RECORD_NOTE_API: string; export declare const HSR_RECORD_FORGOTTEN_HALL_API: string; export declare const HI_RECORD_INDEX_API: string; export declare const HI_RECORD_CHARACTER_API: string; export declare const HI_RECORD_ABYSS_API: string; export declare const HI_RECORD_ELYSIAN_API: string; export declare const HI_RECORD_ARENA_API: string; export declare const ZZZ_RECORD_CHARACTER_API: string; export declare const ZZZ_RECORD_INDEX_API: string; export declare const ZZZ_RECORD_ABYSS: string; export declare const ZZZ_RECORD_HOLLOW_ZERO: string; export declare const ZZZ_RECORD_NOTE_API: string; export declare const ZZZ_RECORD_SHIYU_DEFENSE: string;