Global

Members

BotManager

This is a simple example of a bot that will hook into the API and provide a way to deposit items into a bot inventory In which a bot will accept any trades in-which the offer is initiated via API, and decline any others. and the api can be called via below: METHOD: POST URL: localhost:1338/sendTrade (port can be changed in config) PARAMS: partner - A string representation of SteamID2, SteamID3, or SteamID64 items - An array of strings in the form of "classid_instanceid" of items (repeating the same values is a valid case) RETURN: If failed to send trade: {status: 0, error: String} If successful to send trade: {status: 1, offerInformation: tradeOfferObject} Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

BotManager

This is a simple example of a bot that will hook into the API and provide a way to favourite attachements on SteamCommunity I do not promote the use of this file, it is made for educational purposes on the possible functionality of this tool. Note: This is simply a proof-of-concept Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

BotManager

This is a simple example of a bot that will simply run the tool to use the GUI aspect of the bot. This will not do any handling of events automatically. Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

BotManager

This is a simple example of a bot that will hook into the API and provide an Inventory system In which a bot will accept any trades in-which people offer something and he offers nothing. and bot will accept any trades done by an admin in-which the bot offers something and the admin offers nothing. Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

BotManager

This is a simple example of a bot that will hook into the API and provide a way to have bot accounts join a certain group. Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

BotManager

This is a simple example of a bot that will hook into the API and provide a way to vote on attachements through all bot accounts I do not promote the use of this file, it is made for educational purposes on the possible functionality of this tool. Note: This is simply a proof-of-concept Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

BotManager

This is a simple example of a bot that will hook into the API and provide a way to follow and unfollow accounts. I do not promote the use of this file, it is made for educational purposes on the possible functionality of this tool. Note: This is simply a proof-of-concept Make sure you copy this file and not use it directly. Follow install instructions on github.
Source:

Methods

webserver(port, options)

Initalize a webserver with options such as SSL
Parameters:
Name Type Description
port
options
Source:

Type Definitions

acceptedTradesCallback(error, acceptedTrades)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
acceptedTrades Array An array of trades that were confirmed in the process.
Source:

callbackErrorOnly(error)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
Source:

callbackRequestAPI(error, body)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
body Object An object of the parsed response (undefined if failed)
Source:

callbackSteamID(error, steamid)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
steamid SteamID steamid if successful, null if error.
Source:

confirmationsCallback(error, confirmations)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
confirmations Array An array of Confirmations
Source:

errorOnlyCallback(error)

This error callback is expected only to return an error, and no other information.
Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
Source:

inventoryCallback(error, inventory, currencies)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
inventory Array An array of Items returned via fetch (if undefined, then game is not owned by user)
currencies Array An array of currencies (Only a few games use this) - (if undefined, then game is not owned by user)
Source:

tradeTokenCallback(error, token)

Parameters:
Name Type Description
error Error An error message if the process failed, undefined if successful
token Array The token of the current bot account
Source: