Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dota-wiki-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dota-wiki-api - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

dist/modules/matches.d.ts

6

dist/demo.js
"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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc