hypixel-api-reborn
TypeScript icon, indicating that this package has built-in type declarations

11.1.0 • Public • Published

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 >= v14.x.x
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');
// https://stavzdev.is-inside.me/cCMiZdoy.gif

// 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

Package Sidebar

Install

npm i hypixel-api-reborn

Weekly Downloads

138

Version

11.1.0

License

MIT

Unpacked Size

443 kB

Total Files

100

Last publish

Collaborators

  • stavz
  • kathund