Skip to content

Repository files navigation

NPM Install Info

NPM VersionNPM DownloadsDeps

node-hypixel.js

Simple node.js lib for using Hypixel's API, with 100% API coverage! Making it easy to fetch data about players, resources, skyblock and much more!

Installationnpm install node-hypixel.js

Documentation

https://node-hypixel.tiiny.site/index.html

Example

// Create a new HypixelClient instance.const{ HypixelClient }=require("node-hypixel.js");constclient=newHypixelClient("API KEY");// Get player by their display name.client.getPlayerByDisplayname("iColtz").then((player)=>{// Console log the player.console.log(player);}).catch((error)=>{// Log the error if there is one.console.log(error);});

FAQ

  • How to obtain an API key? It's simple go on Minecraft Hypixel server, and type the command /api to obtain an api key.

  • How to get my UUID? Go to https://api.mojang.com/users/profiles/minecraft/DISPLAY_NAME_HERE and change the end of the url to use players display name.

Author

Author: iColtz

About

Simple node.js lib for using Hypixel's API, with 100% API coverage! Making it easy to fetch data about players, resources, skyblock and much more!

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Sponsor this project

Used by

Contributors

Languages