JSPM

  • Created
  • Published
  • Downloads 221
  • Score
    100M100P100Q99526F
  • License MIT

This is the only Hypixel API wrapper for Node.js with intellisense support

Package Exports

  • hypixel-api-reborn

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hypixel-api-reborn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hypixel API • Reborn

This is the only Hypixel API wrapper for Node.js with intellisense support


Discord Support | Documentation | NPM | GitHub | PreMiD Presence | 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

v8.1.0

Try it now

Code Sandbox