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

A module to communicate with Liquipedia's Dota 2 Wiki to fetch Team Info, DPC Rankings, Dota Game Schedules, and more!

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

Dota Wiki Api

A module to communicate with the Liquipedia Dota 2 Wiki to fetch Team Info, DPC Rankings, Dota Game Schedules, and more!

Setup

Install DotaWikiApi with npm (or preferred package manager)

npm i --save dota-wiki-api

Import or require the file, and initialize it with an configuration object

import { DotaWikiApi } from 'dota-wiki-api';

const myConfig = {
    userAgentValue: 'MyConfig/0.0.1 (https://github.com/myGithub/myDotaApp)',
}

const myDotaWikiApi = new DotaWikiApi(myConfig);

myDotaWikiApi.getAllRanks()
    .then((res) => {
        console.log(res);
    })
    .catch((err) => {
        console.log(err);
    

DotaWikiApi is written in Typescript, and therefore also provides typings support out of the box

Documentation

All documentation and API information can be found in the API Document here

Contribution

If you would like to help or build on this module, please submit a PR! I will be providing more detailed contribution information in the near future.

Credits

Data for this module is gathered and used from the Liquipedia Dota 2 Wiki under their CC-BY-SA 3.0 License

Keywords

FAQs

Package last updated on 01 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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