Air Quality Index in Melbourne is 50 the dominant pollutant is pm25
This commit is contained in:
parent
dff57a346b
commit
265ab11044
1 changed files with 69 additions and 69 deletions
6
aqi.el
6
aqi.el
|
@ -1,4 +1,4 @@
|
||||||
;;; aqi.el --- Air quality data from the World Air Quality Index. -*- lexical-binding: t; -*-
|
;;; aqi.el --- Air quality data from the World Air Quality Index -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Copyright 2020 FoAM
|
;; Copyright 2020 FoAM
|
||||||
;;
|
;;
|
||||||
|
@ -77,9 +77,9 @@
|
||||||
|
|
||||||
(defun aqi--city-cache-update (city)
|
(defun aqi--city-cache-update (city)
|
||||||
"Add or update cached data for a given CITY."
|
"Add or update cached data for a given CITY."
|
||||||
(progn (aqi--city-cache-clear city)
|
(aqi--city-cache-clear city)
|
||||||
(push (cons city (aqi-request city))
|
(push (cons city (aqi-request city))
|
||||||
aqi-cached-data)))
|
aqi-cached-data))
|
||||||
|
|
||||||
(defun aqi--city-cache-get (city)
|
(defun aqi--city-cache-get (city)
|
||||||
"Add or update cached data for a given CITY."
|
"Add or update cached data for a given CITY."
|
||||||
|
|
Loading…
Reference in a new issue