Skip to content

CodingButter/get-steam-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-steam-user

retrieves a list of steam users and their steam ids from the local machine. perfect for desktop apps looking to get information about a steam user.

💿 Installation

npm i get-steam-user

📖 Usage

getUserInfo

[returns an array of users with usernames and steamids]

var gsu = require('get-steam-user');
gsu.getUserInfo(function(user_info){
   console.log(user_info); 
});

response

[ { steamid: 'xxxxxxxxxxxx', username: 'usename' } ]

getSteamId

[returns an array of users steamids]

var gsu = require('get-steam-user');
gsu.getSteamId(function(steamids){
   console.log(steamids); 
});

response

[ 'xxxxxxxxxxxx' ] //xs being the steam id

getUsername

[returns an array of usernames]

var gsu = require('get-steam-user');
gsu.getUsername(function(usernames){
   console.log(usernames); 
});

response

[ 'a_username' ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published