ekuinox / chumacera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chumacera

Build Status 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));

About


Languages

Language:TypeScript 100.0%