1.1.1 • Published 1 year ago

csgo-data v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

CSGO:DATA


A minimalist and simple module to interact and get stats from CS:GO players. JSON format.

Getting started

const csgodata = require('csgo-data');
const connection = new csgodata.Connection('STEAM API KEY GOES HERE');

// Get stats from a user
connection.getStats('STEAM64 ID GOES HERE').then(r => ...)

// Get achievements from a user
connection.getAchievements('STEAM64 ID GOES HERE').then(r => ...)

// Get global achievement percentages (No arguments required)
connection.getAchievementsPercentages().then(r => ...)

// Get someone's CS:GO inventory
connection.getInventory('STEAM64 GOES HERE').then(r => ...)

Note: csgo-data only supports steam64 ids (example: 123456789078678) for the moment. You can use modules to convert those ids.


Made w/❤ by cctwaterson. | Steam profile

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago