import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=41";
export let aqi = async () => {
return await fetchJSON(
"https://api.openaq.org/v2/latest?" +
new URLSearchParams({
limit: "10",
page: "1",
location_id: "61498",
offset: "0",
sort: "desc",
radius: "100000",
order_by: "lastUpdated",
dumpRaw: "false",
})
);
};