get-steam-user-fixed
v1.0.6
Published
Retrieves the local steam users and steam ids on a windows machine
Downloads
8
Maintainers
Readme
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' ]