0.0.78 • Published 7 months ago

minehut v0.0.78

Weekly downloads
9
License
MIT
Repository
github
Last release
7 months ago

Minehut

A TypeScript wrapper for the Minehut HTTP API

Installation

Install minehut with NPM

  npm install minehut

Features

  • Get basic Minehut network information.
  • Get information about a Minehut server.
  • Get a list of online servers.
  • Get information about server icons and categories.
  • Get information about a Minehut player such as their rank, friends, and if they are online.

Basic Usage

const minehut = new Minehut();

async function main() {
    const stats = await minehut.getSimpleStats();
    console.log(stats);

    const lifestealServers = await minehut.servers.getOnlineServers({ category: "lifesteal" });
    console.log(lifestealServers);

    const player = await minehut.players.get('_Tarna_');
    console.log(player);
}

For more examples, visit example.ts.

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

License

MIT

Contributors

0.0.66

11 months ago

0.0.67

10 months ago

0.0.68

10 months ago

0.0.69

10 months ago

0.0.73

10 months ago

0.0.74

10 months ago

0.0.75

9 months ago

0.0.76

9 months ago

0.0.77

9 months ago

0.0.78

7 months ago

0.0.70

10 months ago

0.0.71

10 months ago

0.0.72

10 months ago

0.0.65

3 years ago

0.0.64

4 years ago

0.0.62

4 years ago

0.0.61

4 years ago

0.0.51

4 years ago

0.0.52

4 years ago

0.0.53

4 years ago

0.0.50

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.12

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

1.0.0

5 years ago