minekeep
v0.1.0
Published
TypeScript library for the MineKeep API
Downloads
172
Readme
Minekeep-node
A TypeScript wrapper for the Minekeep HTTP API
Installation
Install minekeep with NPM
npm install minekeepFeatures
- Get a list of online Minekeep servers
Basic Usage
const minekeep = new MineKeep();
async function main() {
const minekeep = new MineKeep();
const servers = await minekeep.servers.getPublicServers();
console.log(servers);
const serverById = await minekeep.servers.getPublicServerById('yvl76l0is74u41rw');
console.log(serverById);
const serverByName = await minekeep.servers.getPublicServerByName('money');
console.log(serverByName);
}
main();For more examples, visit example.ts.
Contributing
Contributions are always welcome!
See contributing.md for ways to get started.
