https://api.hypixel.net written in Typescript.
This package is a wrapper forAll requests are returned as parsed Typescript interfaces and so gone is the time, where you have to constantly check the names of the values you actually need. If there are any values the Interface does not contain, then open a issue or Pullrequest on GitHub. Also a huge shoutout to ethanent from where I forked this repository, so that I have a base to work with.
Installation
npm install --save hypixel-api-typescript
Usage
Import the HypixelAPI and store your Hypixel API-key as a UUID.
;
Getting player information
//by NAME; //by UUID;;
Finding guilds
A GuildID can be found from a member's UUID or name.
//by NAME; //by UUID;;
With the GuildID you can request the Guild.
;
HypixelAPI can also return the Guild directly.
//by NAME; //by UUID;;
Getting booster information
This does return all active an queued Boosters.
;
You can also check if Hypixel has paused the Booster queue.
;
Getting the leaderboards
The HypixelAPI can request the leaderboards you find in each Gamelobby.
;
Getting informations about your API-key
The HypixelAPI can request the leaderboards you find in each Gamelobby.
;