Skip to content

xxgicoxx/steam-players

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steam-players

Steamworks Web API player summaries wrapper for Node.js.

Features

  • Get player summaries

Docs

Prerequisites

Installation

npm install steam-players

Credentials

1. Steam

# Account
Create an Steam account on https://store.steampowered.com/.

# API Key
Create an API key on https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey.

Example

const Steam = require('steam-players');

const steam = new Steam({
  key: 'STEAM_API_KEY',
});

(async () => {
  try {
    const playerSummaries = await steam.playerSummaries({ steamids: '76561198027639832' });
    console.log(playerSummaries);
  } catch (error) {
    console.error(error);
  }
})();

Built With

Authors

Acknowledgments