air-cli

0.0.6 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.6
    1
  • 0.0.4
    0
  • 0.0.3
    0

Package Sidebar

Install

npm i air-cli

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

7.18 kB

Total Files

5

Last publish

Collaborators

  • yogicat