pcdcpoints
v0.4.0
Published
Return point values for each team at Palmetto Cyber Defence Challenge 2018
Downloads
7
Maintainers
Readme
PCDC Points
How to use
- Create Scores object
let a = new Scores();
- Initialize (Makes API request)
a.init(err => {
if (err) return console.error(err);
console.log(a.getTeamBoxes(1));
console.log(a.getTeamPoints(1));
});
- Use functions
getTeamBoxes(n: int) - Gets the team number's boxes in JSON format
getTeamPoints(n: int) - Gets the total of the team's points