How to use the steam-user.Steam function in steam-user

To help you get started, we’ve selected a few steam-user examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Atosito / Steam-Trade-Bot-TF2- / app.js View on Github external
client.on('loggedOn', () => {
    client.setPersona(SteamUser.Steam.EPersonaState.LookingToTrade, config.botName);
    client.gamesPlayed(440);
    console.log(colours.bgGreen(config.botName) + ' is online and looking for trade.'.green);

});
client.on('webSession', (sessionid, cookies) => {
github Atosito / Steam-Trade-Bot-TF2- / index.js View on Github external
client.on('loggedOn', () => {
    client.setPersona(SteamUser.Steam.EPersonaState.LookingToTrade, config.botName);
    client.gamesPlayed(440);
    logger.correct(`${config.botName} is online and looking for a trade`);
});
github DoctorMcKay / Steam-Card-Farmer / farmer.js View on Github external
var SteamUser = require('steam-user');
var Steam = SteamUser.Steam;
var request = require('request');
var Cheerio = require('cheerio');
var fs = require("fs");

var client = new SteamUser({"enablePicsCache": true,"promptSteamGuardCode":false});

var Electron = require('electron');
var Main = Electron.remote.require('./main.js');

var g_Jar = request.jar();
request = request.defaults({"jar": g_Jar});
var g_Page = 1;
var g_Start;
var g_CheckTimer;
var g_OwnedApps = [];