steam-api-node icon indicating copy to clipboard operation
steam-api-node copied to clipboard

doest not worked user.GetPlayerBans

Open Emixbro opened this issue 9 years ago • 2 comments

var SteamApi = require('steam-api'); var optionalSteamId = steam_64; var user = new SteamApi.User(steam_api_key, optionalSteamId);

user.GetPlayerBans(optionalSteamId).done(function(result){ console.log(result); });

Result:

/node_modules/q/q.js:155 throw e

Emixbro avatar Oct 13 '16 19:10 Emixbro

+1 me too get error like yours

creativefull avatar Jan 20 '17 08:01 creativefull

For me this do work with:

var User = new SteamApi.User('steam_api_key'); User.GetPlayerBans(steam_id).done(function(result){ ...

Mediumwater avatar Feb 09 '17 17:02 Mediumwater