cs-go

0.2.6 • Public • Published

The CS:GO CLI.

See CS:GO teams information (players, map statistics, results), live/next matches, last matches results and live streams.
Best CLI tool for those who are both CS:GO fans and Developers.

All data comes from hltv.org.
Using unofficial HLTV Node.js API HLTV

Install

To use cs-go, make sure that you have Node version 6.0.0 or higher.

NPM CS-GO

Usage

cs-go provides four commands.

  1. teams
  2. matches
  3. results
  4. streams

Teams

List teams ordered by HLTV.org rank.
You can choose a team to get the following information:

  • Players info
  • Map win statistics
  • Recent results
$ cs-go teams

cs-go teams

cs-go teams

Matches

List live/next matches by HLTV.org.
You can choose a matche to get the following information:

  • Event / Format / Team players
  • Vetoes
  • Maps results
  • Streams
  • Last head to head matches
$ cs-go matches

cs-go matches

Results

Show the last matches results from HLTV.org.

Options

-l <limit> or --limit <limit>

Enter a specific number to limit the quantity of matches results.
If you don't specify the option, the limit by default is 20.

$ cs-go results -l 10

cs-go results

Streams

Show live streams from HLTV.org.

$ cs-go streams

cs-go streams

Development

To run cs-go on your local computer, following this step-by-step instruction:

$ git clone https://github.com/lucaspalencia/cs-go.git
$ cd cs-go
$ npm i
$ NODE_ENV=development node bin/cli.js <command>

Inspired on:

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i cs-go

Weekly Downloads

5

Version

0.2.6

License

MIT

Unpacked Size

75.4 kB

Total Files

54

Last publish

Collaborators

  • lucaspalencia