2.2.0 • Published 8 years ago

hubot-steam-webapi v2.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

hubot-steam-webapi

Build Status Dependency Status

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

See src/steam.coffee for full documentation.

Installation via NPM

  1. Install the hubot-steam-webapi module as a Hubot dependency by running:

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

    [
        "hubot-steam-webapi"
    ]
  3. Run your bot and see below for available config / commands

Configuration

VariableDefaultDescription
STEAM_API_KEYN/AA unique developer API key is required to use Steam's Web API
DOTA_MAX_RESULTS5The maximum number of result(s) to return (for matches)

Commands

CommandListener IDDescription
hubot steam id [me] custom URLsteam.profile.idReturns the Steam ID for the user under http://steamcommunity.com/id/ custom URL
hubot steam status Steam ID or custom URLsteam.profile.statusReturns Steam ID or custom URL community status
hubot dota history Steam ID or custom URLsteam.dota.historyReturns metadata for the latest DOTA_MAX_RESULTS (or 5) game lobbies with Steam ID or custom URL
hubot dota match match ID [Steam ID or custom URL]steam.dota.matchReturns information about a particular match ID. Optionally, if Steam ID or custom URL is included, its match information will also be returned

Sample Interaction

user1>> hubot dota history MrSaints
hubot>> Match ID: 1588262704 | Lobby: Ranked match | Hero: Winter Wyvern | 7 hours ago
2.2.0

8 years ago

2.1.7

9 years ago

2.1.6

9 years ago

2.1.5

9 years ago

2.1.4

9 years ago

2.1.3

9 years ago

2.0.3

9 years ago

1.0.3

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago