Sha256: 4d03b8002d6e9e602fdbf846c882d04cdbef5e2dc9c533f51acc49f241323ce0

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

# Rainbow Six: Siege Ruby API

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

```bash
gem install r6api
```

## Usage

The *app_id* and *auth_token* can be found by viewing xhr requests after logging into [Club Ubi](https://club.ubi.com/). 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.

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

profiles = api.get_profile(username)

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

## License

MIT

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r6api-0.1.0 README.md