@zikeji/hypixel

An unopinionated async/await API wrapper for Hypixel's Public API developed in TypeScript complete with documentation, typed interfaces for all API responses, rate-limit handling, a few helpers, and support for undocumented endpoints.
The library aims to replicate the Hypixel API as closely as possible, and as such won't alter the results, merely offering intellisense suggestions, rate-limit handling, and helpers.
Installation
Use npm to install this library.
npm i --save @zikeji/hypixel
Usage
const { Client } = require("@zikeji/hypixel");
const client = new Client("API_KEY");
(async () => {
const status = await client.status.uuid("20934ef9488c465180a78f861586b4cf");
console.log(status);
const stats = await client.watchdogstats();
console.log(stats);
})();
Contributing
If some API result isn't documented / typed out fully, please open an issue and I can add it ASAP. Otherwise, pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
All changes must ensure they pass eslint, tests, and that testing is updated to meet or exceed the previous coverage.
Licenses
This projected is licensed under the MIT license. For additional details see LICENSE.
This library contains derivative work based on classes from the hypixel-php library. Code that is derivative work of hypixel-php will be marked as such with a header comment. See LICENSE-HYPIXEL-PHP.md for additional details on the original license.