1.0.6 • Published 7 years ago

susu-dota2-api v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

dota2-web-api

Install

npm install susu-dota2-api

Before the example, you should apply a steam key to use these APIs.

Example

const DotaTwoWebApi = require('susu-dota2-api');

const dota2Api = DotaTwoWebApi.create('steam key');

const options = {match_id : '123456789'}; // id is an example which is not true

dota2Api.getMatchDetails(options).then(res=>console.log(res));

the functions

  • getMatchDetails({match_id:'123456789'})
  • getPlayerSummaries({account_id:'123456789'})

todo next

  • getMatchHistory API

todo in future

other APIs of dota2 or steam

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago