0.0.78 • Published 5 months ago
minehut v0.0.78
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
Contributors
0.0.66
8 months ago
0.0.67
8 months ago
0.0.68
8 months ago
0.0.69
8 months ago
0.0.73
8 months ago
0.0.74
8 months ago
0.0.75
7 months ago
0.0.76
7 months ago
0.0.77
7 months ago
0.0.78
5 months ago
0.0.70
8 months ago
0.0.71
8 months ago
0.0.72
8 months ago
0.0.65
3 years ago
0.0.64
3 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
4 years ago
0.0.17
4 years ago
0.0.16
4 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