# g13-qc-stats

> Quake Champions stats for Logitech G13 LCD Advanced Gameboard

Latest version **1.0.2** (published 2018-08-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install g13-qc-stats
pnpm add g13-qc-stats
yarn add g13-qc-stats
bun add g13-qc-stats
```

## 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.0.2 |
| Published | 2018-08-05 |
| First published | 2018-08-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 29.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | mister_paladin |

## Links

- npm: https://www.npmjs.com/package/g13-qc-stats
- npm.io page: https://npm.io/package/g13-qc-stats

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.87.0
- [text2png](https://npm.io/package/text2png.md) ^2.0.0-alpha.8

## Recent versions

- 1.0.2 (latest) — 2018-08-05
- 1.0.1 — 2018-08-04
- 1.0.0 — 2018-08-04

## README

# Logitech G13 LCD stats for Quake Champions

Quake Champions stats for Logitech G13 LCD Advanced Gameboard

![banner](/banner.jpg)

Fetching stats from Bethesda's Quake Champions website, saves images to display them on LCD.

Shows:
- Player level
- Win/lost rate
- Total wins games
- Total lost games
- Total played games
- Kill/death ratio
- Total kills
- Total deaths
- Duel/TDM skill rating

## Requirements

- Logitech G13 Advanced Gameboard
- Windows
- AIDA64
- Nodejs

## Usage

- Install AIDA64, Nodejs.
- Install font from *fonts* directory.
- Run AIDA64, open settings, go to *LCD* and enable *Logitech G15/G19*, go to *LCD Items* and import *quake-g13.lglcd* file from *lcd* directory.
- Include package: `yarn require g13-qc-stats`.
- Create script:

```javascript
const path = require('path')
const qcStats = require('g13-qc-stats')

const config = {
  player: 'Mister Paladin', // Player name to fetch, required
  out: path.resolve(__dirname, 'out'), // Set images output directory, required
}

qcStats(config)
  .then((result) => {
    // result.data - JSON response
    // result.files - files path
  })
  .catch(...) // Rejects with request error
```

- Go to LCD Items settings and import *quake-g13.lglcd*, and update image file path from the output directory for each LCD item.
- Make cron job to run script every *n* minutes to make LCD stats up to date.
- Enjoy

## Tests

`npm test` or `yarn run test`

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