node-dota2

Steam Dota2 Api in Node.js

Usage no npm install needed!

<script type="module">
  import nodeDota2 from 'https://cdn.skypack.dev/node-dota2';
</script>

README

node-dota2

NPM version David deps

NPM

Steam Dota2 Api in Node.js

Install

npm install SFantasy/node-dota2

Usage

Require and new

var Dota2 = require('node-dota2');
var dota2 = new Dota2('your api key');

Api

  • getMatchHistory
dota2.getMatchHistory('player_id', options);
  • getMatchDetails
dota2.getMatchDetails('match_id', options);

Develop

git clone git@github.com:SFantasy/node-dota2.git
cd node-dota2
npm install

License

The MIT License