# statistic_tracker

> A Statistic Tracker for Apex Legends, Cs:Go, Fortnite and Overwatch

Latest version **1.2.1** (published 2019-12-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install statistic_tracker
pnpm add statistic_tracker
yarn add statistic_tracker
bun add statistic_tracker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2019-12-11 |
| First published | 2019-12-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chaos_Phoe |
| Maintainers | chaos_phoe |
| Keywords | tracker, apex, overwatch, cs:go, fortnite |

## Links

- npm: https://www.npmjs.com/package/statistic_tracker
- Repository: https://github.com/ChaosPhoe/Statistic_Tracker
- Homepage: https://github.com/ChaosPhoe/Statistic_Tracker#readme
- Issues: https://github.com/ChaosPhoe/Statistic_Tracker/issues
- npm.io page: https://npm.io/package/statistic_tracker

## Recent versions

- 1.2.1 (latest) — 2019-12-11
- 1.2.0 — 2019-12-08
- 1.1.7 — 2019-12-02
- 1.1.6 — 2019-12-02
- 1.1.5 — 2019-12-02
- 1.1.4 — 2019-12-02
- 1.1.3 — 2019-12-02
- 1.1.2 — 2019-12-02
- 1.1.1 — 2019-12-01
- 1.1.0 — 2019-12-01
- 1.0.2 — 2019-12-01
- 1.0.1 — 2019-12-01
- 1.0.0 — 2019-12-01

## 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](https://tracker.gg/developers/apps)
```js
const GameStat = require("statistic_tracker");
const game = new GameStat("apiKey")
```
## Methods

```js
game.getStats(query, game);
```
## Example
```js
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
```js
game.getStats(["platform", "name"], "fortnite");
game.getStats(["platform", "name"], "apex");
game.getStats(["platform", "platformUserIdentifier"], "csgo");
game.getStats(["platform", "region", "battletag"], "overwatch");
```

---
_Source: https://npm.io/package/statistic_tracker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
