Project

r6api

0.0
No commit activity in last 3 years
No release in over 3 years
Client for the Rainbow 6: Siege limited API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.11
~> 10.0
~> 3.0

Runtime

~> 0.13.7
 Project Readme

Rainbow Six: Siege Ruby API

DEPRECATED:

We now use a private library for retrieving Rainbow Six stats for R6Stats. If you are interested in using our data, please contact me. You can find an email on my Github profile.


This is a simple ruby gem to retrieve the json behind authenticated club ubi endpoints. This API is not publicly accessible, and access to it can be gained by sniffing network traffic and finding the correct headers.

Installation

gem install r6api

Usage

The app_id and auth_token can be found by viewing xhr requests after logging into Club Ubi. The app_id is listed as Ubi-AppId and the auth_token is listed as Authorization. Both should be copied into the fields provided in the R6API.

api = R6API::API.new(app_id, auth_token)

profiles = api.get_profile(username)

stats = api.get_player(platform, profiles["profiles"][0]["profileId"])

License

MIT