This Node.js (TypeScript) application is an Express.js API wrapper for the Ubisoft Rainbow Six®: Siege API, used to fetch and organize stats for up to 50 players per request.
This project is based on the GameSense API, developed by Jarren Morris and Caleb Marquart. It has been simplified to make fetching R6 stats easy for developers on a small scale.
This application has been developed using the TypeScript programming language. This application can run on a system with NPM, Node.js, and TypeScript installed.
Ensure all necessary Node packages are installed according to package.json
:
npm ci
You must modify the config.json
file according to your needs.
Update the "current_season"
property (Eg. "Y9S2"
).
In order to access R6 stats for any player, you must be logged into a Ubisoft account with 2FA disabled. You can even create a "burner" Ubisoft account--it doesn't have to be your personal one.
Add your account's "email"
and "password"
to the configuration file.
By default, the Express server is running on localhost:3000
. You may change this port to fulfill your needs.
If using AWS EC2 to host this application, you may be required to use a port in the 8000
s range.
Without a process manager installed, you can run a single instance of this application:
npm run start
Avoid starting the application more than 3 times per hour as it logs into your Ubisoft account twice per start and can end up returning Too Many Requests
errors.
GET /r6/profiles/:platform/:username
Parameter | Description | Valid Values |
---|---|---|
:platform |
The platform on which the player's profile is located. | id , pc , psn , xbox |
:username |
The username or profileId for the player's profile. | - |
Developer: Jarren Morris (@SwiftCODA), Software Engineering Student
Developer: Caleb Marquart (@calebmarquart), Computer Software Engineering Student
Contributor: Pedro Calado Moura (@feijoes)
Want to contribute to this project? Caught a mistake or want to contribute to the documentation?
Create an issue or make a pull request with a detailed description of your proposed changes.
R6-API is licensed under the MIT License.
This project is not affiliated with Ubisoft Entertainment. Tom Clancy’s, Rainbow Six, The Soldier Icon, Ubisoft and the Ubisoft logo are trademarks of Ubisoft Entertainment.