r6s-stats-api
Version:
An api for fetching player statistics from Rainbow Six Siege
26 lines (21 loc) • 754 B
JavaScript
module.exports = class Stats {
constructor(url, name, header, level, kd, kills, deaths, win_, wins, losses, headshot_, headshots, time_played, matches_played, total_xp, melee_kills, blind_kills) {
this.url = url;
this.name = name;
this.header = header;
this.level = level;
this.kd = kd,
this.kills = kills,
this.deaths = deaths,
this.win_ = win_,
this.wins = wins,
this.losses = losses,
this.headshot_ = headshot_,
this.headshots = headshots,
this.time_played = time_played,
this.matches_played = matches_played,
this.total_xp = total_xp,
this.melee_kills = melee_kills,
this.blind_kills = blind_kills
}
}