Skip to content

A Node.js module that allows to search data from ubisoft services and apis for Tom Clancy's Rainbow 6 Siege

Notifications You must be signed in to change notification settings

Theboys619/rainbow6api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A Rainbow 6 Node Module to get Stats of players. This module allows to get stats of players from ubisoft services. The module requires login info.

Important

Create a new account at https://ubisoft.com for use of the module.

Declare Example

const credentials = {
    email: "xxxxxx@gmail.com",
    password: "xxxxxxxxx123"
}
const R6Api = require("rainbow6api");
let R6 = new R6Api(credentials);
R6.login() // Make sure it is logged in first before running other r6api functions

Documentation

Table of Contents

How to Use

Functions

.getStats(username, platform, type): Enter a username and platform to search

Platforms

xbl: Xbox Live (xbox one)
psn: Playstation Network (ps4)
uplay: Personal Computer (pc)
pc: Personal Computer (pc)

Types

default: Gets general statistics (kills, deaths, wins, losses, etc...)
operators: Gets stats for all operators used
all: Gets every possible statistic for player

Example

let username = "Theboys619"
let platform = "uplay" // Pc also works
R6.getStats(username, platform).then(function(data) {
	console.log(`Kills: ${data.generalpvp_kills}`};
	console.log(data); // log data to see json array of stats (kills/deaths);
});

About

A Node.js module that allows to search data from ubisoft services and apis for Tom Clancy's Rainbow 6 Siege

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published