Skip to content
A PUBG Match Info Thing for Tournaments (made for RFLan)
JavaScript CSS Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
html
.gitignore
LICENSE
README.md
config.json
index.js
package-lock.json
package.json
shits_fucked.log
tool

README.md

pubg-node

A PUBG Match Info Thing for Tournaments (made to make my life easy @ RFLan)

all you need is node.js

install thing.

$ npm i battlegrounds mathjs

usage

get latest matchID from PUBG username (required to get match data!)

$ ./tool -lm [username]

$ ./tool --get-latest-matchid-from-username [username]

replace [username] with a valid username, the program will spit out errors if it cannot connect to the PUBG api, or if your key is not valid or the username is not valid.

get match data (automatically exports to a .csv file in the same directory)

$ ./tool -m [matchID]

$ ./tool --export-match-data [matchID]

replace [matchID] with the matchID that you got from the previous command or any matchID that is valid.

or if you are too lazy you can just get the latest match data from a username

$ ./tool -mu [username]

$ ./tool ---latest-match-from-username [username]

replace [username] with a valid username, the program will spit out errors if it cannot connect to the PUBG api, or if your key is not valid or the username is not valid.

.csv cleanup (delete all saved match data in the current directory)

$ ./tool -c

$ ./tool --cleanup

fun fact! if you are not using a *nix operating system then chill the heck out, just replace ./tool with node main.js easy peasy! crysis diverted.

You can’t perform that action at this time.