A collection of variables, functions and endpoints the Steam website uses
g_sessionID Your Steam session ID
g_steamID Your Steam ID
| import {readFileSync} from "fs"; | |
| const ObjectType = { | |
| Map: 0, | |
| String: 1, | |
| Int32: 2 | |
| }; | |
| class Reader { | |
| constructor(content) { |
| mutation AccountMutation($twoFactorRequest: TwoFactorRequest!, $type: [String]!) { | |
| Account { | |
| # update two factor authentication | |
| updateTwoFactorAuthentication(twoFactorRequest: $twoFactorRequest) { #Type: AccountMutationStatus | |
| success #Type: Boolean | |
| } | |
| # Remove authentication method | |
| removeThirdPartyLink(type: $type) { #Type: AccountMutationStatus | |
| success #Type: Boolean | |
| } |
| 2003-09-01 | 430,159 | |
|---|---|---|
| 2003-10-01 | 164,740 | |
| 2003-11-01 | 115,910 | |
| 2003-12-01 | 125,061 | |
| 2004-01-01 | 105,668 | |
| 2004-02-01 | 85,764 | |
| 2004-03-01 | 118,380 | |
| 2004-04-01 | 126,378 | |
| 2004-05-01 | 99,905 | |
| 2004-06-01 | 84,291 |
| /* jshint esversion: 6*/ | |
| const assert = require('assert'); | |
| const async = require('async'); | |
| const fs = require('fs'); | |
| let request = require('request'); | |
| const FileCookieStore = require('tough-cookie-filestore'); | |
| if (!fs.existsSync('cookies.json')) { fs.writeFileSync('cookies.json', '{}'); } | |
| let j = request.jar(new FileCookieStore('cookies.json')); | |
| request = request.defaults({ jar : j }); |
| -accesscode - | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -browser-offline - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load | |
| -cef-allow-browser-underlay - Allow webhelper to create BrowserView underlays | |
| -cef-delaypageload - Enable early-out for known page loads | |
| -cef-disable-breakpad - disables breakpad in crash dumps |