Skip to content

Hypixel-API-Reborn/hypixel-api-reborn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6e141ff · Sep 15, 2024
Jul 16, 2024
Sep 4, 2023
May 17, 2024
Sep 15, 2024
Aug 27, 2024
Sep 10, 2024
Mar 24, 2024
Jun 7, 2024
May 17, 2024
Jun 2, 2020
Jun 7, 2024
Jun 7, 2024
Sep 15, 2024
Sep 15, 2024

Repository files navigation

Hypixel API • Reborn

A feature-rich Hypixel API wrapper for Node.js


Links

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