4.1.1 • Published 7 months ago

node-steam-robot v4.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

steam-robot

Steam bots creating library.

Install

npm install node-steam-robot

Usage

import SteamRobot from 'steam-robot'

// Account object for creating a bot
const account = {
  // Required properties
  username: 'username',
  password: 'password',
  sharedSecret: 'sharedSecret',
  // Optional properties
  identitySecret: 'identitySecret',
  options: {
    key: 'You can specify additional options'
  },
  headers: {
    key: 'You can specify additional headers'
  },
  proxy: null // Format protocol://username:password@host:port
}

const bot = new SteamRobot(account)

// You can work with the Steam object directly without using use()
const steam = await bot.start()

// The steam object contains:
// - totp (steam-totp)
// - client (steam-user)
// - community (steamcommunity)
// - manager (steam-tradeoffer-manager)

// Exit Steam
bot.stop()

See also

ModuleDescriptionAuthor
steam-totpLightweight module to generate Steam-style TOTP auth codesDoctorMcKay
steam-userAllows interaction with the Steam network via the Steam client protocolDoctorMcKay
steamcommunityInteract with various interfaces on Steam Community from Node.jsDoctorMcKay
steam-tradeoffer-managerSimple and sane Steam trade offer managementDoctorMcKay
steam-robot (YOU HERE)Steam bots creating based on middlewaresVladislav Puzyrev & Sergey Likhotin