Package Exports
- statistic_tracker
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (statistic_tracker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Statistic Tracker
This module is made to get statistics from different games, we currently support: Apex Legends, Cs:Go, Fortnite and Overwatch.
Usage
You can find your Api Key Here
const GameStat = require("statistic_tracker");
const game = new GameStat("fortnite", "apiKey")
(async () => console.log(await game.getStats(["pc", "Ninja"]))();Methods
const game = new GameStat("fortnite");
game.changeGame("csgo");new GameStat("csgo").getStats(["platform", "platformUserIdentifier"]);
new GameStat("apex").getStats(["platform", "name"]);
new GameStat("overwatch").getStats(["platform", "region", "battletag"]);