A lightweight & easy to use npm package for getting 2b2t queue info.
$ npm install 2b2t
PrioQ:
Function: PrioQ()
let prio = await PrioQ()
prio[1] // Players in PrioQ.
prio[2] // Estimated Time in PrioQ.
NormalQ:
Function: queue()
queue().then(d => {
d.queue; // Players in NormalQ.
d.updatetime; // Last time data was upated.
});
Feel free to make contributions to this project. Pull Requests & Issues will be reviewed.