0.0.6 • Published 3 years ago

air-cli v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

Air-cli

screenshot

Air-CLI is ann Air Quality Command Line App.

Search current AQI by location.


Installation

npm install -g air-cli

  • Download the app and install globally.

API Token

$ air --add 29av922123

  • air-cli uses data from https://aqicn.org/api/
  • To use the cli, visit the site and get the token.
  • Add your token using --add flag.

Usage

   Usage
    Search by city
    $ air --in <city>

    Add api-token
    $ air --add <Your Token Value>

    Options
      --add, -a         Add API Token
      --token,-t        Show saved token
      --remove, -r      Remove token
      --in, -i          Search by location
      --help, -h        Display Heol

    Examples
    $ air --in here ............. Show Air Quality based on curreent location
    $ air --in Seoul ............ Show Air Quality in Seoul
    $ air --add 2zd82s .......... Add API Token
    $ air --token ............... Show saved token
    $ air --help ................ Show Help

    API
    https://aqicn.org/api/
`,

Data

https://aqicn.org/api/

License

Licensed under MIT.

Issues

Report a bug in issues. Made with love in Seoul by Yogicat

0.0.4

3 years ago

0.0.6

3 years ago

0.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago