Skip to content

linearaccelerator/hypixel-api-reborn

 
 

Repository files navigation

Hypixel API • Reborn

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


Links

Discord Support | Documenation | NPM | GitHub | PreMiD Presence | ToDo

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

v7.0.0

Try it now

Code Sandbox

About

A Hypixel Public API client for Node.js [Reborn]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%