Skip to content

Ladrium/Statistic_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published