hypixel-api-client
v1.0.10
Published
A wrapper for the Hypixel player API
Downloads
21
Maintainers
Readme
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