Hello people, i can t receive info from the items. I dont know why never work. I try in very much times, and i read very much post of this forum. But i never receive responds from the steam items. I try to see mi inventory items info. (itemid, rarity, etc).
This is the code: (sorry for ask, i cant do it in days)
const SteamUser = require('steam-user');
const GlobalOffensive = require('globaloffensive');
let user = new SteamUser();
let csgo = new GlobalOffensive(user);
const logInOptions = {
accountName: "miacountname",
password: "mypassword"
}
user.logOn(logInOptions);
user.on('loggedOn', res => {
console.log("Logged into Steam as " + user.steamID.getSteam3RenderedID());
user.setPersona(SteamUser.EPersonaState.Online);
user.gamesPlayed(730);
});
csgo.on('connectionStatus', console.log);
csgo.on('connectedToGC', () => {
console.log('Connected to GC!');
csgo.on('inspectItemInfo',function(skin){
console.log(skin);
});
});
Connect perfectly but when is the part of receive item info to mi console, not receive nothing. I have mi inventory in public.
I dont know if an error in the promess, in concepts or in a little error (my error).