statistic_tracker
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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("apiKey")

Methods

game.getStats(query, game);

Example

const game = new GameStat("xxx-xxx-xxx-xxx");
const { data, error } = game.getStats(["pc", "Ninja"], "fortnite");
if(!data || error) console.log("Couldn't find that player!");
else console.log(data);

Parameters

game.getStats(["platform", "name"], "fortnite");
game.getStats(["platform", "name"], "apex");
game.getStats(["platform", "platformUserIdentifier"], "csgo");
game.getStats(["platform", "region", "battletag"], "overwatch");

/statistic_tracker/

    Package Sidebar

    Install

    npm i statistic_tracker

    Weekly Downloads

    6

    Version

    1.2.1

    License

    ISC

    Unpacked Size

    6.07 kB

    Total Files

    18

    Last publish

    Collaborators

    • chaos_phoe