1.3.7 • Published 3 years ago

hypixel-api-v2 v1.3.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

hypixel-api-v2

npm functions branches lines statements

Features

  • TypeScript support.
  • Support for multiple API keys at once.
  • Automatic ratelimiting.
  • Configurable cache.
  • Full coverage of the Hypixel API.

Installation

First, install nodejs >= 14 from nodejs.org, then:

npm install hypixel-api-v2

Getting Started

"Hello world" example:

// ES6 import syntax
import { HypixelAPI } from 'hypixel-api-v2';

// CommonJS
// const { HypixelAPI } = require('hypixel-api-v2');

const hypixel = new HypixelAPI('your-key-here'); // or ['first-key-here', 'second-key-here', ...]

(async () => {
	const player = await hypixel.player('hypixel');

	console.log(`${player.displayname} has ${player.networkExp} experience.`);
})();

Documentation

View the documentation here.

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.26

3 years ago

1.2.24

3 years ago

1.2.25

3 years ago

1.2.0

3 years ago

1.2.18

3 years ago

1.2.19

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.20

3 years ago

1.2.23

3 years ago

1.2.21

3 years ago

1.2.22

3 years ago

1.2.9

3 years ago

1.2.12

3 years ago

1.2.13

3 years ago

1.2.10

3 years ago

1.2.11

3 years ago

1.2.16

3 years ago

1.2.17

3 years ago

1.2.14

3 years ago

1.2.15

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago