Skip to content
Get live games on HLTV and their matchid.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Live.js
README.md
package.json

README.md

HLTV Live Games

Codacy Steam Donate

Introduction

This is an incredibly simple module which scrapes games from HLTV. More features may be added in the future.

Usage

getLiveGames(secondary, callback)

If secondary is truthy, another request will be made by hltv-live-games to get more information about the games (time and players). Otherwise, only one request will be made, making it much likely to get rate limited.

const getLiveGames = require('hltv-live-games');

getLiveGames(true, (err, games) => {
	if (err) {
		console.log(err);
	} else {
		console.log(games);
	}
});
You can’t perform that action at this time.