@fqqris/hypixel-js

1.0.0 • Public • Published

Hypixel logo

hypixel-js

A Javascript Wrapper for the Hypixel API.

Support Languages LICENSE Contributors
Version Size Downloads
Issues-open Issues-closed pulls-open pulls-closed

Installation

Using NPM:

npm i -s hypixel-js

Dependencies

Usage

Add to Project

const HypixelClient = require("hypixel-js");

const hypixel = new HypixelClient("your-api-key");

Functions

Args
getPlayer uuid
getGuild searchParameter, query
getWatchdogStats withCommas
getBoosters
getOnlinePlayers withCommas
getFriends uuid
getSkyblockProfiles uuid
getSkyblockProfile id
getSkyblockNews
getSkyblockAuctions page
getSkyblockAuction searchParameter, query
getBazaar
getBazaarProduct product
getStatus uuid

Examples

async () => {
        await HypixelClient.getPlayer("Hypixel").then(player => {
        console.log(player);
});

        let guild = await HypixelClient.getGuild("name", "The Sloths");
        console.log(guild);
}

How to obtain a Hypixel API key

You can obtain an API key by joining mc.hypixel.net with a valid Minecraft account and running the /api command. You will then be assigned a unique key that is to remain private.

Package Sidebar

Install

npm i @fqqris/hypixel-js

Weekly Downloads

1

Version

1.0.0

License

GPL-3.0

Unpacked Size

18 kB

Total Files

6

Last publish

Collaborators

  • fqqris