diff --git a/awesome/objects.py b/awesome/objects.py index 95784fc..0983f4f 100644 --- a/awesome/objects.py +++ b/awesome/objects.py @@ -150,6 +150,13 @@ def new(name: str, lat: str, lon: str, elevation: int) -> dict: elevation=elevation, ) + def aqi_readings(self, session): + """ + Get AQI readings at this location + """ + # https://github.com/rcgsheffield/urban_flows/issues/14 + return session.call(self.urljoin('aqi-readings')) + class Sensor(AwesomeObject): """