Steam Community
Easily access information about yourself and your friends on the Steam community website. Given a 64bit Steam ID, this module retrieves a user's XML from the Steam Community site and returns a parsed JSON object. Awesome!
Includes configurable timeouts and retry, provided by the Re package.
Install
npm install steam-community
Usage
Get your 64bit steam ID and plug it in. You'll get back an object with all the infos.
var steam = client = ; client;
There's also a games
function. You use it like this:
var steam = client = ; client;
Where games
is a JSON array of objects that look something like this:
Options
The default options look like this:
var options = timeout : 10000 retries : 10 strategy : "type": steamSTRATEGIESEXPONENTIAL "initial":800 "base":2 "max":3200
everything except timeout
is documented in Re, (and get's passed to it).