@eyp57tr/mcapi
v0.0.1
Published
````javascript const serverInfo = require("@eyp57tr/mcapi") serverInfo.getServerInfo("play.gizemlioyuncu.com").then(result => { console.log(result) }) // returns all server information parsed as json.
Downloads
2
Readme
examples
const serverInfo = require("@eyp57tr/mcapi")
serverInfo.getServerInfo("play.gizemlioyuncu.com").then(result => {
console.log(result)
}) // returns all server information parsed as json.
serverInfo.getServerVersion("play.gizemlioyuncu.com").then(result => {
console.log(result)
}) // returns server version parsed as string.
serverInfo.getServerRawMotd("play.gizemlioyuncu.com").then(result => {
console.log(result)
}) // returns server motd parsed as string.
serverInfo.getServerPing("play.gizemlioyuncu.com").then(result => {
console.log(result)
}) // returns server ping parsed as integer.
serverInfo.getServerFavIcon("play.gizemlioyuncu.com").then(result => {
console.log(result)
}) // returns servers favicon parsed as base64
for any support https://discord.gg/UQtNvk8rJe