pcdcpoints

0.4.0 • Public • Published

PCDC Points

How to use

  1. Create Scores object
let a = new Scores();
  1. Initialize (Makes API request)
a.init(err => {
    if (err) return console.error(err);
    console.log(a.getTeamBoxes(1));
    console.log(a.getTeamPoints(1));
});
  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

/pcdcpoints/

    Package Sidebar

    Install

    npm i pcdcpoints

    Weekly Downloads

    3

    Version

    0.4.0

    License

    ISC

    Unpacked Size

    4.51 kB

    Total Files

    5

    Last publish

    Collaborators

    • t94j0