JSPM

node-steam-userinfo

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21493F
  • License MIT

A simple module to get Steam user information from SteamID.

Package Exports

  • node-steam-userinfo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-steam-userinfo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node Steam User Info

A simple package to get Steam user information from SteamID.

NodeSteamUserInfo is a package to help you fetch Steam user information from only a SteamID.

It is asynchronous, written in ES6 and works with callbacks, promises and async/await.

Installation

Run npm install --save node-steam-userinfo.

Functions

setup(apiKey)

  • apiKey - Your Steam API key.

getUserDetails(steamId[, callback])

  • steamId - The SteamID of the user you want to get.
  • callback - The callback method to be executed on response. The callback takes 2 arguments: error the error (null if successful), and user the user data (null if error).
  • If no callback is provided, the method returns a Promise and can be used with async/await (see examples).