New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hypixel-api-reborn

Package Overview
Dependencies
Maintainers
2
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypixel-api-reborn

Feature-rich Hypixel API wrapper for Node.js

latest
Source
npmnpm
Version
11.3.7
Version published
Maintainers
2
Created
Source

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

Keywords

minecraft

FAQs

Package last updated on 03 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts