This module provides an easy interface for the Steam Community website. This module can be used to simply login to steamcommunity.com for use with other libraries, or to interact with steamcommunity.com.
This fork extends DoctorMcKay's v3 branch with unmerged fixes, features and updates:
- Extend sharedfiles support DoctorMcKay/node-steamcommunity #344
- Fix resolving vanity for private profiles returning error: DoctorMcKay/node-steamcommunity #315
- Fix sharedfile data scraping failing as a non-english page was returned by Steam: DoctorMcKay/node-steamcommunity #316
- Fix scraping sharedfile type failing when incomplete breadcrumb was returned: DoctorMcKay/node-steamcommunity #316
- Add discussions support: DoctorMcKay/node-steamcommunity #319
- Add reviews support: DoctorMcKay/node-steamcommunity #335
- Migrate from deprecated
requeststogot. Fixes issues documented here: 3urobeat/steam-comment-service-bot #285 - Update dependencies
This fork is mostly a drop-in replacement, except for anything listed in the chapter below.
This fork uses got instead of the deprecated requests library.
Setting up a SteamCommunity instance using a proxy therefore differs:
const SteamCommunity = require("@3urobeat/steamcommunity");
const got = require(require.resolve("got", { paths: [require.resolve("steamcommunity")] })).default; // Use got bundled with steamcommunity
const communityProxyAgent = new HttpsProxyAgent("http://0.0.0.0:1234");
const community = new SteamCommunity({ got: got.extend({ agent: { https: communityProxyAgent, http: communityProxyAgent }, decompress: true }) });Documentation of the base repository is available on the GitHub wiki.
Is your issue related to anything added in this fork?
Yes: Open an issue here, don't bother DoctorMcKay with it.
No: Follow the official support instructions below.
Report bugs on the issue tracker or ask questions on the dedicated forum.