Skip to content
/ aqi-py Public

Get Air Quality Index information for any city, in terminal.

Notifications You must be signed in to change notification settings

roh777/aqi-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Air Quality Index Info in Terminal

Get AQI Index by city, in you terminal using https://aqicn.org API.

Note: Requires python 3

Install requests module in python

To install requests

 python3 -m pip install requests

If you have pip installed then, use the following

sudo pip install requests

Usage

$ python3 aqi.py -c Seoul

or

$ python3 aqi.py --city Seoul
Output
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)

About

Get Air Quality Index information for any city, in terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages