A simple API Wrapper for the Hypixel API
Example Client:
const HypixelAPI = require('hypixel-api-client').init('YOUR_API_KEY_HERE');
HypixelAPI.validateKey();
(async () => {
const rugs = await HypixelAPI.getPlayerByUsername('rugs');
console.log('MVP++:', rugs.isPlusPlus());
console.log('Rank:', rugs.());
console.log('Special Rank:', rugs.getRank());
})();
Output:
Looks like your API key ________ is valid.
MVP++: false
Rank: MVP_PLUS
Special Rank: NORMAL