node-hypixel

1.0.1 • Public • Published

hypixel.js

A Node.js wrapper for the hypixel api. original by CdePanda

const hypixellib = require("node-hypixel")
const hypixel = new hypixellib("api key here")

hypixel.getPlayer("player uuid").then(console.log).catch(console.error)

todo: add skyblock functions

hypixel.getWatchdogStats()
hypixel.getLeaderboard()
hypixel.getStatus(uuid)
hypixel.getRecent(uuid)
hypixel.getPlayersCount()
hypixel.getGamesCount()
hypixel.getResourcesCount(resourceType (default is achievements))
hypixel.getFriends(uuid)
hypixel.findGuildByName(name)
hypixel.findGuildByPlayer(playeruuid)
hypixel.getGuild(guildid)
hypixel.getBoosters()
hypixel.getPlayer(uuid)
hypixel.getPlayerByUsername(name)
hypixel.getKeyInfo()

Readme

Keywords

Package Sidebar

Install

npm i node-hypixel

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

5.2 kB

Total Files

4

Last publish

Collaborators

  • ralseidev