This project provides an easy way to access and use the Steam API on a local machine.
I recently have been using Twitch to stream and wanted a way to track my Steam stats while I played. The problem was that there was no way to track these stats on screen with OBS. This project allows streamers to track Steam stats in a web browser on a Localhost server, which you can in turn access through OBS's web browser streaming settings.
- Copy the Localhost-Steam-API folder to your local machine.
- Obtain a Steam Web API Key HERE
- Edit lines 1 + 2 in the server.js file.
const steamKey = ""; // Place your Steam API key in this variable as a string const steamID = ""; // Place your Steam ID in this variable as a string
- Navigate to Localhost-Steam-API folder in command prompt or terminal
- Run
npm install
- Run
node server.js
You can now open a browser and navigate to pages on the server
Currently there is only one implemented method from the Steam API
Pages | Usage | Description |
---|---|---|
localhost:4000/ | Index | Copy of /:appid without data |
localhost:4000/:appid | Replace ":appid" with ID of a steam game | Tracks amount of achievements in :appid |