cubecraft.js is a JavaScript API for get data from CubeCraft.
Run :
npm install --save github:Seyz123/cubecraft.js
You can see tests/index.js
for an example.
const cc = require("cubecraft.js");
cc.getLeaderboardData("bedrock", "skywars").then(function(data){
console.log(data);
}).catch(function(error){
console.error(error);
});
Work in progress...