node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


DotA 2 WebApi

Easy-to-use API client for the Dota 2 WebAPI


npm install dota2-webapi

How to use

The following example shows you how to use this library. In this case we are getting the league listing provided by the API.

var webapi = require('dota2-webapi');
var WebApi = new webapi('APIKEY');
WebApi.getTournaments('en', function(e, tournaments){