npm install node-dota2node-dota2
---
[![NPM version][npm-image]][npm-url]
[![David deps][david-image]][david-url]
[npm-image]: https://img.shields.io/npm/v/node-dota2.svg?style=flat
[npm-url]: https://npmjs.org/package/node-dota2
[david-image]: https://img.shields.io/david/SFantasy/node-dota2.svg?style=flat
[david-url]: https://david-dm.org/SFantasy/node-dota2

Steam Dota2 Api in Node.js
``sh`
npm install SFantasy/node-dota2
`js`
var Dota2 = require('node-dota2');
var dota2 = new Dota2('your api key');
- getMatchHistory
`js`
dota2.getMatchHistory('player_id', options);
- getMatchDetails
`js`
dota2.getMatchDetails('match_id', options);
`sh``
git clone git@github.com:SFantasy/node-dota2.git
cd node-dota2
npm install
The MIT License