dota-wiki-api
Advanced tools
Comparing version 1.0.1 to 1.1.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const index_1 = require("./index"); | ||
const matches_1 = require("./modules/matches"); | ||
const myConfig = { | ||
userAgentValue: 'GADotaSuite/0.0.1 (https://github.com/ammuench/google-assistant-dota)', | ||
}; | ||
const myDotaWikiApi = new index_1.DotaWikiApi(myConfig); | ||
myDotaWikiApi.getPlayer('Arteezy') | ||
const myDotaWikiApi = new matches_1.DotaMatches(myConfig); | ||
myDotaWikiApi.getMatchList() | ||
.then((res) => { | ||
@@ -10,0 +10,0 @@ console.log(res); |
@@ -42,3 +42,3 @@ "use strict"; | ||
.catch((err) => { | ||
reject(`Error fetching team list: ${err}`); | ||
reject(`Error fetching player: ${err}`); | ||
}); | ||
@@ -45,0 +45,0 @@ }); |
{ | ||
"name": "dota-wiki-api", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "A module to communicate with Liquipedia's Dota 2 Wiki to fetch Team Info, DPC Rankings, Dota Game Schedules, and more!", | ||
@@ -36,2 +36,3 @@ "license": "MIT", | ||
"cheerio": "^1.0.0-rc.2", | ||
"date-fns": "^1.29.0", | ||
"node-fetch": "^2.1.2", | ||
@@ -38,0 +39,0 @@ "tslint": "^5.9.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
509966
21
5605
4
+ Addeddate-fns@^1.29.0
+ Addeddate-fns@1.30.1(transitive)