Like playing Dota 2 Ability Draft matches? Interested in seeing what abilities were chosen by what player and at what levels? Like awkward, ugly output? D2AD could just be just what you’re searching for.
Install D2AD using RubyGems, like this:
$ gem install d2adYou do have Ruby on your machine, right?
To get details on the abilities chosen in a match:
$ d2ad match <MATCH_ID>But wait! Where do you get the match ID from? Well, normally you’d need to use the Steam Web API to retrieve your latest matches. Hold on a sec, though—D2AD can do it for you:
$ d2ad account <ACCOUNT_ID>Ugh, another ID? Yeah, I’m afraid so… Thankfully there’s an easy way to snag this one—it’s the number on the end of your Dotabuff profile URL. If you’re a Dota 2 player and aren't using Dotabuff, you should go check it out and come back to this later.
You can always check the help for all the nitty-gritty:
$ d2ad helpThis gem requires that you have a Steam Web API Key so that it can talk to Steam about all your Dota data. You can get one here: http://steamcommunity.com/dev/apikey. Once you have your key, you can tell D2AD to use it in one of two ways.
Set your key as a shell environment variable:
$ export STEAM_WEB_API_KEY=WHATEVER_YOUR_KEY_ISYou’ll most likely want to add this to your shell's config file if you plan to use D2AD frequently. If you'd prefer to not mess with an environment variable, simply pass the key along as an option when you run a D2AD command:
$ d2ad match 514604875 --key WHATEVER_YOUR_KEY_IS- kronusme, for the ability data
This project is licensed under The MIT License (MIT).
Dota 2 is a registered trademark of Valve Corporation.