@eyp57tr/mcapi

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @eyp57tr/mcapi

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

2.15 kB

Total Files

3

Last publish

Collaborators

  • eyp57tr