Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

szerookii/cubecraft.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubecraft.js Codacy Badge

What is cubecraft.js

cubecraft.js is a JavaScript API for get data from CubeCraft.

How to install

Run : npm install --save github:Seyz123/cubecraft.js

Usage

You can see tests/index.js for an example.

Get SkyWars leaderboard by platform

const cc = require("cubecraft.js");

cc.getLeaderboardData("bedrock", "skywars").then(function(data){
	console.log(data);
}).catch(function(error){
	console.error(error);
});

Status

Work in progress...