Open LaxisB opened 5 years ago
A request to https://game-status-api.ubisoft.com/v1/instances?appIds=AppIdPC,AppIdPsN,AppIdXBX should do the job.
Maybe a file, located in r6api/src/commands/getStatus.ts, like this:
import { URLS } from '../ubicontants';
type UUID = string;
interface ISingleStatus {
appId: UUID;
category: string; //pointless
platform: 'PC' | 'PS4' | 'XBOXONE';
status: string;
maintenance: string;
}
export interface IGetStatus {
id: UUID; // the appId
platform: string; // the platform
status: string; // the status
maintenance: string;
}
//The Request Method comes here
https://rainbow6.ubisoft.com/status/