chumacera
v1.0.6
Published
PUBGAPI wrapper for nodejs
Downloads
4
Readme
Chumacera
PUBG Dev API wrapper for nodejs.
Install
$ npm install chumacera
Usage
Set a client
const Chumacera = require("chumacera");
const client = new Chumacera.Client("<APIKEY>");
Get players
client.getPlayers(Chumacera.Shard.PC_JP, { names : ["<Name>"]})
.then(players => console.log(players));
Get match
players[0].relationships.matches[0].getMatch()
.then(match => console.log(match));
Get telemetry
match.getTelemetry()
.then(telemetry => console.log(telemetry));