About
Dota2 api wrapper written in node.js Github https://github.com/a70ma/dota2api
Installation
Install this version via npm:
npm install dota2api
And use in your node source:
var Dota2Api = ;
Usage
Initialization
var dota = 'your api key';
For obtain api key go to http://steamcommunity.com/dev/apikey
Match Details
Get match details from match id:
dota;
Get matches between two dates:
dota;
You can also use this function with Date object:
dota;
Match History
Get matches by player name:
dota;
Get matches by hero id:
dota;
Get matches by league id:
dota;
Get matches by steam account id:
dota;
Leagues Details
Get information about DotaTV-supported leagues
var Dota2Api = ;var dota = '<key>';dota;
Heroes
Get dota2 heroes list:
dota;
Replay
Get replay url:
dota;// return url
About
Copyright (C) 2013 <jiin@insicuri.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.