JSPM

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

A Hubot script for interacting with Steam Web API (primarily for Dota 2).

Package Exports

  • hubot-steam-webapi

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 (hubot-steam-webapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hubot: Steam Web API

A Hubot script for interacting with Steam Web API (primarily for Dota 2).

Installation via NPM

  1. Install the hubot-steam module as a Hubot dependency by adding it to your package.json file:

    npm install --save hubot-steam
  2. Enable the script by adding the hubot-steam entry to your external-scripts.json file:

    ["hubot-steam"]
  3. Run npm install

Config

  • STEAM_API_KEY
  • HUBOT_DOTA_MAX_RESULTS (TBA)

Commands

Command Description
hubot steam id [me] custom URL Returns the Steam ID for the user under http://steamcommunity.com/id/ custom URL
hubot steam status `Steam ID custom URL`
hubot dota history `Steam ID custom URL`
hubot dota match `match ID [Steam ID custom URL]`