susu-dota2-api

1.0.6 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.60latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i susu-dota2-api

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • susufqx