CFenner / MMM-AirQuality

A module for the MagicMirror to display a location's air quality index.
MIT License
35 stars 15 forks source link

adding @number stations #50

Closed briodan closed 9 months ago

briodan commented 9 months ago

Hi wondering how i would go about adding a station that used an @number in the URL, for example:

https://aqicn.org/station/@360085/

CFenner commented 9 months ago

I guess you tried simply using that as location already?

briodan commented 9 months ago

yes I did, also tried a few variations of the URL that is shown lower on the page

https://aqicn.org/station/@360085/#/s:360085/n:barriere-spruce-crescent-canada

with no luck

CFenner commented 9 months ago

Ah, nice, it's listed directly on the station page, just search for API: https://aqicn.org/station/@360085/

Just replace the @ with a A.