Air-cli
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
License
Licensed under MIT.
Issues
Report a bug in issues. Made with love in Seoul by Yogicat