r6s-stats-api
Version:
An api for fetching player statistics from Rainbow Six Siege
25 lines (21 loc) • 735 B
JavaScript
module.exports = class Stats {
constructor(url, name, header, operator, time_played, kills, deaths, kd, wins, losses, win_, headshots_, dbnos, xp, melee_kills, operator_stat, operator_img) {
this.url = url;
this.name = name;
this.header = header;
this.operator = operator,
this.time_played = time_played,
this.kills = kills,
this.deaths = deaths,
this.kd = kd,
this.wins = wins,
this.losses = losses,
this.win_ = win_,
this.headshots_ = headshots_,
this.dbnos = dbnos,
this.xp = xp,
this.melee_kills = melee_kills,
this.operator_stat = operator_stat,
this.operator_img = operator_img
}
}