node-steamcommunity/examples
Alex Corn 86e87e88ed
Merge branch 'master' into v4
# Conflicts:
#	components/confirmations.js
#	components/inventoryhistory.js
#	components/twofactor.js
#	components/users.js
#	components/webapi.js
#	index.js
#	package.json
2023-06-27 01:19:00 -04:00
..
accept_all_confirmations.js Update comment 2023-06-26 01:37:08 -04:00
disable_twofactor.js Added comment explaining usage of setMobileAppAccessToken 2023-06-23 01:04:48 -04:00
edit-group-announcement.js Refactor all files 2021-07-29 02:55:56 -04:00
enable_twofactor.js Added comment explaining usage of setMobileAppAccessToken 2023-06-23 01:04:48 -04:00
README.md Added accept_all_confirmations.js example 2023-06-23 18:32:50 -04:00

node-steamcommunity examples

The files in this directory are example scripts that you can use as a getting-started point for using node-steamcommunity.

Enable or Disable Two-Factor Authentication

If you need to enable or disable 2FA on your bot account, you can use enable_twofactor.js and disable_twofactor.js to do so. The way that you're intended to use these scripts is by cloning the repository locally, and then running them directly from this examples directory.

For example:

git clone https://github.com/DoctorMcKay/node-steamcommunity node-steamcommunity
cd node-steamcommunity
npm install
cd examples
node enable_twofactor.js

Accept All Confirmations

If you need to accept trade or market confirmations on your bot account for which you have your identity secret, you can use accept_all_confirmations.js to do so. The way that you're intended to use this script is by cloning the repository locally, and then running it directly from this examples directory.

For example:

git clone https://github.com/DoctorMcKay/node-steamcommunity node-steamcommunity
cd node-steamcommunity
npm install
cd examples
node accept_all_confirmations.js