hypixie
A simplified interface for the Hypixel api.
Install
npm install hypixie
Usage
const hypixie = ; async { const displayname = await ; console; //=> "Richienb"};
API
hypixie(endpoint, options)
endpoint
Type: string
The API endpoint to call.
options
Type: object
The options to pass to the API.
hypixie.HypixelError
Exposed for instanceof checks. This type of error is thrown when the API returns an error.