Steam.getGlobalStatsForGame()

Returns on global statistics of a specific game

Usage

Hover over inputs/exits for more info.

var Steam = require('machinepack-steam');


// Returns on global statistics of a specific game

Steam.getGlobalStatsForGame({

appid: 400,

name: [ 'global.map.emp_isle' ],

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

appid required

AppID of the game you want the percentages of.

400
name required

Name of the achievement as defined in Steamworks.

[ 'global.map.emp_isle' ]

Exits

error

An unexpected error occurred.

success

OK.

{ globalstats: {}, result: 1 }