mc-player-api
v1.0.0
Published
Get the information about a minecraft player.
Downloads
20
Maintainers
Readme
[email protected]
npm i mc-player-api
What is mpi?
- Mc-player-api provides information about the entered username.
Usage :
Usage in Normal Function
const mpi = require("mc-player-api");
mpi.getUser("eKush").then(user => {
console.log(user);
});
Usage in Async Function
const mpi = require("mc-player-api");
async function info() {
const user = await mpi.getUser("eKush");
console.log(user);
}
info()