1.2.1 • Published 4 years ago

statistic_tracker v1.2.1

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

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");
1.2.1

4 years ago

1.2.0

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago