1.0.13 • Published 5 years ago

aqi-cli v1.0.13

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Motivation

aqi-cli is simple commandline tool to get the currently Air Quality

Quick Start

npm install -g api-cli
aqi-cli -a guagnzhou -l en

// result
Guangzhou AQI : 50
Updated on Thursday 17:00
-------------------
Air Pollution Level :  Good 

> pm25 : 50
> pm10 : 26
> o3   : 75
> no2  : 9
> so2  : 3
> co   : 6
> t    : 34
> p    : 1005
> h    : 56
> w    : 2

Health Implications :  Air quality is considered satisfactory, and air pollution poses little or no risk 
Cautionary Statement (for PM2.5) :  None 

command options

aqi-cli --help

Options:
  --help       help massage                                               [Boolean]
  --version    version                                                 [Boolean]
  --area, -a   want to know the air quality in which area
  --lang, -l   choices display language
   [Options: "de", "en", "es", "fr", "ja", "ko", "pl", "pt", "ru", "vi", "zh-CN",
                                                                        "zh-TW"]
  --watch, -w  watch aqi                                                  [Boolean]

Watch mode

aqi-cli -w will notify he currently Air Quality by node-notifier

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago