UNPKG

@zikeji/hypixel

Version:

With IntelliSense support & test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses, built-in rate-limit handling, flexible

7 lines (6 loc) 194 B
export abstract class BaseClient { public abstract call<T extends Record<string, unknown>>( path: string, parameters?: Record<string, string> ): Promise<T & { cached?: boolean }>; }