Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var SteamUser = require('steam-user');
- var client = new SteamUser();
- client.logOn({
- accountName: "",
- password: ""
- });
- client.on('loggedOn', function(detail) {
- console.log('Logged in with');
- });
- client.on('error', function(err) {
- console.log(err);
- });
- client.on('steamGuard', function(doamin, callback) {
- var code = getTOTPCode();
- callback(code);
- });
- client.on('webSession', function(sessionID, cookies) {
- console.log('Got web session');
- //client.setPersona(SteamUser.Steam.EPersonaState.Online);
- client.gamesPlayed([
- 274170,
- 252490,
- 242760,
- 208650,
- 49520,
- 383870,
- 405640,
- 448660,
- 469730,
- 213670,
- 246900,
- 261640,
- 485890,
- 418070,
- 466840,
- 438180,
- 400240,
- 381210,
- 72850,
- 104900,
- 8850,
- 49520,
- 252950,
- 313120,
- 322500,
- 377160,
- 379720,
- 365590,
- 8870,
- 359050,
- 34900,
- 730
- ]);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement