MBamb / Ubisoft-Rainbow-Six-Api

Java Wrapper for the Rainbow Six Siege API

Home Page:https://vault-gaming.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubisoft Rainbow Six Siege API

A Java API to handle authorization and requests regarding the Rainbow Six Siege API. Providing a clean and easy way to use the Rainbow Six Siege API.

MIT License

Authors

Features

  • Season stats (Ranked 2.0)
  • Overall stats
  • Operator stats
  • Map stats
  • Bombsite stats

Features to be implemented

  • Season stats (Ranked 1.0)
  • Weapon stats
  • Support for non PC platforms

Quickstart

To set up a UbisoftRainbowSixApi instance you have to create a UbisoftRainbowSixApiConfig

 final var config = new UbisoftRainbowSixApiConfig()
    	.setUbiAppId("---") //<--- Your UbiAppId for requests after Ranked 2.0
    	.setUbiAppIdOld("---") //<--- Your UbiAppId for requests before Ranked 2.0
    	.setAuthorizationToken("---") //<--- Your authorization token
    	.setRetriesOnError(0);

Create your UbisoftRainbowSixApi instance and set your UbisoftRainbowSixApiConfig

final var api = new UbisoftRainbowSixApi()
	.setConfig(ubiApiConfig);

You can now use the api to request a UbisoftTicket which you need for requesting data

final var oldTicket = api.getOldUbisoftTicket(); //<---Ticket for requests before Ranked 2.0
final var newTicket = api.getUbisoftTicket(); //<--- Ticket for requests after Ranked 2.0

About

Java Wrapper for the Rainbow Six Siege API

https://vault-gaming.de

License:MIT License


Languages

Language:Java 100.0%