Get AQI Index by city, in you terminal using https://aqicn.org API.
Note: Requires python 3
Install requests module in python
python3 -m pip install requests
If you have pip installed then, use the following
sudo pip install requests
$ python3 aqi.py -c Seoul
or
$ python3 aqi.py --city Seoul
Seoul [187](16:00PM,16/01/18)
Jongro, Seoul, South Korea [157](16:00PM,16/01/18)
Guro-gu, Seoul, South Korea [158](16:00PM,16/01/18)
Mapo-gu, Seoul, South Korea [167](16:00PM,16/01/18)
Jung-gu, Seoul, South Korea [163](16:00PM,16/01/18)
Taereung, Seoul, South Korea [175](16:00PM,16/01/18)
Gil-dong, Seoul, South Korea [153](16:00PM,16/01/18)
Nowon-gu, Seoul, South Korea [175](16:00PM,16/01/18)
Gwanak-gu, Seoul, South Korea [169](16:00PM,16/01/18)
Jongno-gu, Seoul, South Korea [160](16:00PM,16/01/18)
Dobong-gu, Seoul, South Korea [190](16:00PM,16/01/18)
Gonghangro, Seoul, South Korea [191](16:00PM,16/01/18)
Gangnam-gu, Seoul, South Korea [164](16:00PM,16/01/18)
Gangbuk-gu, Seoul, South Korea [169](16:00PM,16/01/18)
Dongdaemun, Seoul, South Korea []()
Dongjak-gu, Seoul, South Korea [180](16:00PM,16/01/18)
Gwangjin-gu, Seoul, South Korea [156](16:00PM,16/01/18)
Gangdong-gu, Seoul, South Korea [170](16:00PM,16/01/18)
Jungnang-gu, Seoul, South Korea [167](16:00PM,16/01/18)
Geumcheon-gu, Seoul, South Korea [173](16:00PM,16/01/18)