Extension Icon

Air Quality

An air quality information extension
AvatarPreeti Yuankrathok
135 Installs
Overview

Air Quality

Fetching air quality data from the World Air Quality Index. See more detail about API here.

Getting API Token

To get the API token, you need to register on the Air Quality Open Data Platform website. After registration, you will get the token.

Specifying City/Station

By default, the plugin fetches air quality data from the nearest station to your IP location by using a special station named "here".

You can specify the city or station to get the air quality data by visiting https://aqicn.org and searching for the city or station. For example, a valid URL for Bangkok is https://aqicn.org/city/bangkok/.

After you have the city or station URL, you can set it in Command Preferences.

Valid formats for city/station configuration

  • City: bangkok
  • Station ID: @5773
  • URL: https://aqicn.org/city/bangkok/