Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hypixel-api-reborn

Hypixel-API-Reborn765MIT11.3.7TypeScript support: included

Feature-rich Hypixel API wrapper for Node.js

minecraft, client, hypixel, api, hypixel-api, intellisense

readme

Hypixel API • Reborn

A feature-rich Hypixel API wrapper for Node.js


Discord Support | Documentation | NPM | GitHub | ToDo | CLI

Requirements

For Node.js users >= v18.18.0
For TypeScript users >= v3.5

Installation & Usage

npm i hypixel-api-reborn
const Hypixel = require('hypixel-api-reborn');
const hypixel = new Hypixel.Client('API-KEY');

// getPlayer
hypixel
  .getPlayer('StavZDev')
  .then((player) => {
    console.log(player.level); // 141
  })
  .catch((e) => {
    console.error(e);
  });

// getGuild
hypixel
  .getGuild('name', 'The Foundation')
  .then((guild) => {
    console.log(guild.level); // 111
  })
  .catch((e) => {
    console.error(e);
  });

For more examples go to our documentation.

Changelog

v11.0.0

Try it now

Code Sandbox