1.0.6 • Published 2 years ago

get-steam-user-fixed v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

get-steam-user-fixed

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. Edit by Guillerp (ALL RIGHTS RESERVED TO JAMIE NICHOLS) using regedit to find the correct path.

💿 Installation

npm i get-steam-user

📖 Usage

getUserInfo

returns an array of users with usernames and steamids

var gsu = require('get-steam-user-fixed');
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-fixed');
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-fixed');
gsu.getUsername(function(usernames){
   console.log(usernames); 
});

response

[ 'a_username' ]