1.0.4 • Published 1 year ago
omega-strikers v1.0.4
About
This API is not official, use it at your own risk.
Download
npm install omega-strikers
npm page
Client
To initialize the client, you need the Token and Token Refresh. Use Fiddler Classic to retrieve the token.
To start the client:
const OmegaStrikers = require("omega-strikers");
const client = new OmegaStrikers({
token: token,
refresh: token_refresh
});
/*
Players - Number of Players to be displayed in the result;
Region: Global, Asia, NA, SA, EU, OCE;
*/
await client.leaderboard({ players: 10, region: "na" });
/*
Playername | Region;
Will return player information if they are in the top 10,000;
*/
await client.ranked({ playerName: "Aesop", region: "na" });
/*
Playername;
Returns the player's level information;
*/
await client.level({ playerName: "Aesop" });
/*
playerName;
Returns user's mastery information;
*/
await client.mastery({ playerName: "Aesop" });
If you want to help with the project, feel free to contribute. A big kiss to Aesop <3