npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jinada

v0.0.10

Published

Liquipedia Competitive Dota 2 wrapper

Downloads

14

Readme

Jinada

CodeFactor

Liquipedia Dota

Unofficial wrapper for Liquipedia Dota.
This wrapper isn't completed yet but rn you can competitive interaction with:

  • Get Latest roster transfer
  • Get Ongoing tourney
  • Get Upcoming tourney
  • Get Completed tourney
  • Get Dota of the Days fact.

Installation

npm i jinada

Example

const Liquipedia = require('jinada');
const jinada = new Liquipedia.Client();

jinada.getRoster().then((data) => {
    console.log(data);
});

Returns latest player transfer:

[
  {
    date: '2021-06-21',
    player_list: [ '5up', 'empyreaN' ],
    old_team: [],
    new_team: [ 'simply TOOBASED' ]
  },
  {
    date: '2021-06-21',
    player_list: [ 'Jubei' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-21',
    player_list: [ 'Mushi' ],
    old_team: [],
    new_team: [ 'TNC Predator' ]
  },
  {
    date: '2021-06-19',
    player_list: [ 'Lolingblue' ],
    old_team: [],
    new_team: [ 'Interitus' ]
  },
  {
    date: '2021-06-19',
    player_list: [ 'AMINN', 'DFlash', 'fcr', 'H1j4ck', 'Rayuur' ],
    old_team: [],
    new_team: [ 'Interitus' ]
  },
  {
    date: '2021-06-19',
    player_list: [ 'Rap Rap' ],
    old_team: [],
    new_team: [ 'Team Veteran' ]
  },
  {
    date: '2021-06-18',
    player_list: [ 'MyPro' ],
    old_team: [],
    new_team: [ 'Motivate.Viper Gaming' ]
  },
  {
    date: '2021-06-16',
    player_list: [ 'ppd' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-15',
    player_list: [ 'Heaven' ],
    old_team: [],
    new_team: [ 'Nemiga Gaming' ]
  },
  {
    date: '2021-06-15',
    player_list: [ 'Raykill' ],
    old_team: [],
    new_team: [ 'Latam Defenders' ]
  },
  {
    date: '2021-06-15',
    player_list: [ 'Aretes', 'BlackSoul' ],
    old_team: [ 'Incubus Club' ],
    new_team: [ 'Latam Defenders' ]
  },
  {
    date: '2021-06-15',
    player_list: [ 'Angel Prince' ],
    old_team: [],
    new_team: [ 'Latam Defenders' ]
  },
  {
    date: '2021-06-15',
    player_list: [ 'Sueño' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-15',
    player_list: [ 'agressive child' ],
    old_team: [],
    new_team: [ 'Spider Pigzs' ]
  },
  {
    date: '2021-06-15',
    player_list: [ 'dnz', 'Funn1k', 'LeBronDota', 'No!ob' ],
    old_team: [],
    new_team: [ 'Spider Pigzs' ]
  },
  {
    date: '2021-06-15',
    player_list: [ 'RdO' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-15',
    player_list: [ 'SumaiL' ],
    old_team: [],
    new_team: [ 'OG' ]
  },
  {
    date: '2021-06-14',
    player_list: [ 'eine' ],
    old_team: [ 'Gambit-2' ],
    new_team: [ 'AS Monaco Gambit' ]
  },
  {
    date: '2021-06-14',
    player_list: [ 'ana' ],
    old_team: [ 'OG' ],
    new_team: []
  },
  {
    date: '2021-06-14',
    player_list: [ 'BoraNija' ],
    old_team: [],
    new_team: [ 'Hellbear Smashers' ]
  },
  {
    date: '2021-06-14',
    player_list: [ 'Enryu' ],
    old_team: [],
    new_team: [ 'OB Esports x Neon' ]
  },
  {
    date: '2021-06-14',
    player_list: [ 'Moon' ],
    old_team: [ 'Fnatic' ],
    new_team: [ 'Team SMG' ]
  },
  {
    date: '2021-06-14',
    player_list: [ 'Stormstormer' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-14',
    player_list: [ 'pieliedie' ],
    old_team: [],
    new_team: [ 'Team Bald Reborn' ]
  },
  {
    date: '2021-06-14',
    player_list: [ '5up' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-13',
    player_list: [ 'PlayHard' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-13',
    player_list: [ 'Mice' ],
    old_team: [],
    new_team: []
  },
  {
    date: '2021-06-12',
    player_list: [ 'Fear' ],
    old_team: [],
    new_team: [ 'Thunder Predator' ]
  },
  {
    date: '2021-06-11',
    player_list: [ 'DoT' ],
    old_team: [],
    new_team: [ 'UD Vessuwan' ]
  },
  {
    date: '2021-06-11',
    player_list: [ 'JG', 'Ken', 'LuziFy', 'Rupido', 'Teehee' ],
    old_team: [],
    new_team: [ 'UD Vessuwan' ]
  }
]

Documentation

getRoster()

Returns latest transfer object.

jinada.getRoster().then((data) => {
    console.log(data);
});

getUpcomingtourney()

Returns Upcoming tourney.

jinada.getUpcomingtourney().then((data) => {
    console.log(data);
});

getOngoingtourney()

Returns Ongoing tourney.

jinada.getOngoingtourney().then((data) => {
    console.log(data);
});

getCompletedtourney()

Returns Completed/Ended tourney.

jinada.getCompletedtourney().then((data) => {
    console.log(data);
});

getDOTD()

Returns Dota of the Day (related day fact).

jinada.getDOTD().then((data) => {
    console.log(data);
});

Todo

  • [x] Transfer
  • [x] Tournaments
  • [ ] Player
  • [ ] Teams
  • [ ] Stats
  • [ ] Patches

Legal

This tool can be freely copied, modified, altered, distributed without any attribution whatsoever. However, if you feel like this tool deserves an attribution, mention it. It won't hurt anybody :)

Please, read the license terms. Don't worry, it can be read in less than 30 seconds, unless you have some sort of reading disability - in that case, I'm wondering why you're still reading this text. Really. Stop. Please. I mean, seriously. Why are you still reading?

Third-party app

Definitely this wrapper only used for my own personal microservice, but yeah i make this public now

Acknowledgements

Since this tool includes some contributions, and I'm not an asshole, I'll publically thank the following users for their help: