hypixel-api-client

1.0.10 • Public • Published

hypixel logo

A simple API Wrapper for the Hypixel API

Npm package version GitHub commits Npm license

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

Package Sidebar

Install

npm i hypixel-api-client

Weekly Downloads

2

Version

1.0.10

License

ISC

Unpacked Size

19.2 kB

Total Files

12

Last publish

Collaborators

  • rugs