1.1.8 • Published 6 years ago

cptmetro v1.1.8

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

CPTM & Metro Status

A Wrapper & CLI to show rails system status for São Paulo.

Example CLI running

Installing

$ npm install -g cptmetro

Wrapper Usage

  cptmetro.metro().then(data => {
    // Will return  data for METRO
    return data;
  });

  cptmetro.cptm().then(data => {
    // Will return  data for CPTM
    return data;
  });

CLI usage

Lines:                      Status:

  Linha 1 - Azul            (1) Operação Normal
  Linha 2 - Verde           (2) Operação Encerrada
  Linha 3 - Vermelha        (3) Operação Parcial
  Linha 4 - Amarela         (4) Velocidade Reduzida
  Linha 5 - Lilás           (5) Paralisada
  Linha 15 - Prata          (6) Dados Indisponíveis


Options:

  -V, --version          output the version number
  -l, --line             Show status for specific line. (ex: 1,2)
  -s, --status           Show only lines with that status. (ex: 3)
  -h, --help             output usage information

License

This project is licensed under the MIT License - see the LICENSE.md file for details

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

1.0.2

7 years ago