1.5.41 • Published 3 months ago

csgo.js v1.5.41

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 months ago

Dependencies

axios

Instalattion

To install use:

npm i csgo.js

You'll need a Steam API Key, you can get one free here

Available Methods for user

You must call API.fetchUser before using any other method.

MethodDescriptionMore info
info()User related Infoinfo.md
stats()General Statsstats.md
maps()Map related Statsmaps.md
weapons()Weapons Statsweapons.md
lastMatch()lastMatch StatslastMatch.md
unknown()Unknown Statsunknown.md
rawraw data collected so farraw.md

Example usage

For more example usages go into the docs folder or click the links in the table above

// requires
const { API } = require('csgo.js');
// imports
import { API } from 'csgo.js';

const STEAM_TOKEN = ''; // replace your token

const user = await API.fetchUser('iFraan_', STEAM_TOKEN);
const { kills, deaths, time_played, damage_done } = user.stats();
console.log(kills, deaths, time_played, damage_done);

Disclaimer

This project is fully for educational purposes.

1.5.41

3 months ago

1.5.4

3 months ago

1.5.3

6 months ago

1.5.2

6 months ago

1.5.1

6 months ago

1.5.0

6 months ago

1.2.0

10 months ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago