# PCDC Points

## How to use
1. Create Scores object

```
let a = new Scores();
```

2. Initialize (Makes API request)
```
a.init(err => {
    if (err) return console.error(err);
    console.log(a.getTeamBoxes(1));
    console.log(a.getTeamPoints(1));
});
```

3. 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
