JSPM

hypixelmultikeyapi

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q32586F
  • License ISC

https://github.com/sawaina/hypixelmultikeyapi

Package Exports

  • hypixelmultikeyapi
  • hypixelmultikeyapi/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hypixelmultikeyapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

A basic API wrapper for Hypixel, with typescript bindings - Up to date with the resources endpoint. Feel free to submit a PR.

npm i hypixelmultikeyapi

Usage

const { HypixelAPI } = require("./index.js");
const APIWrapper = new HypixelAPI("key1", "key2", "key3"); // This takes as many keys you want as arguments

(async () => {
    await APIWrapper.key() // Key Info
    await APIWrapper.player("testuuid") // Player Info
})();