0.2.2 • Published 8 years ago

hltv-upcoming-games v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

hltv-upcoming-games

Codacy Badge

View the teams, maps, and predictions of an upcoming game on HLTV.

Installation

npm install hltv-upcoming-games

Usage

var hltv = require('hltv-upcoming-games');

hltv.getUpcoming(function(gamesAttr) {
  for (var matchid in gamesAttr.games) {
    console.log(gamesAttr.games[matchid]);
  }
});

Methods

getUpcoming(callback)

Gets the upcoming games listed HLTV.

Callback contains the gameAttr object.

getOdds(link, callback)

Callback contains an object with team1's HLTV odds and team2's HLTV odds. (TODO: EGB.com odds)

0.2.2

8 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.5

9 years ago

0.1.0

9 years ago