1.0.4 • Published 1 year ago

omega-strikers v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago