A bot on Steam that fetches CS:GO statistics of specified accounts. The received data is sent to a webserver using a REST call.
- node-steam-user
- node-globaloffensive
- request
- CS:GO must be purchased on the account you sign in with
- Download this package
- Run
npm update
from your terminal - Rename
example.config.json
toconfig.json
and modify it with your account credentials, Steam API key, REST Endpoint URL to which the data needs to be sent and the accounts from which the CS:GO statistics are to be looked up from. - Run
node steambot.js
to execute the script
Below is an example of the data structure that is sent to the specified endpoint:
{
"steamid" : "76561198201294963",
"avatar" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatar/fe/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg",
"name" : "Din Viezel",
"rank" : 14,
"wins" : 164,
"updateDate" : "2016-12-12T21:25:11.268Z"
}