Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var SteamTotp = require('steam-totp');
- var user = new SteamUser();
- user.logOn({
- accountName: "EnterAccountName",
- password: "EnterPassword",
- twoFactorCode: SteamTotp.getAuthCode("")
- });
- user.on('webSession', function() {
- console.log('Logged in!');
- user.setPersona(SteamUser.Steam.EPersonaState.Offline) // Set to offline or online - your choice.
- user.gamesPlayed(10); // Enter ID of the steam game. ID is on the steam store link, e.g. CS 1.6: http://store.steampowered$
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement