vmysiur Posted February 22, 2018 Report Share Posted February 22, 2018 Hello guys! I want to receive percentage of wear on a skin. http://api.steampowered.com/IEconItems_730/GetPlayerItems/v0001/?key=KEYHERE&SteamID=IDHERE This API doesn't work.If someone knows something I will be very grateful. Thank you! Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted February 22, 2018 Report Share Posted February 22, 2018 You would need to use node-globaloffensive for that. Quote Link to comment Share on other sites More sharing options...
vmysiur Posted February 23, 2018 Author Report Share Posted February 23, 2018 Im use node-globaloffensive but have some problem. const steamTotp = require('steam-totp'); const GlobalOffensive = require('globaloffensive'); const steam = require('steam-client'); const SteamUser = require('steam-user'); let steamClient = new steam.CMClient(); const client = new SteamUser(steamClient, {promptSteamGuardCode: false}); let csgo = new GlobalOffensive(client); client.logOn({ accountName: 'name', password: 'password', twoFactorCode: steamTotp.generateAuthCode('secret') }); client.on('loggedOn', function(details) { console.log("Logged into Steam as " + client.steamID.getSteam3RenderedID()); client.gamesPlayed([730]); }); csgo.on('connectedToGC', function(data) { console.log('connectedToGC') }); Event "connectedToGC" not fire. Maybe someone will see my mistake. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted February 23, 2018 Report Share Posted February 23, 2018 Does your bot account own CS:GO? Quote Link to comment Share on other sites More sharing options...
vmysiur Posted February 23, 2018 Author Report Share Posted February 23, 2018 Ohh, no ( I understand that the problem is only in the presence of the game? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted February 24, 2018 Report Share Posted February 24, 2018 Yes, you need to own CS:GO. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.