airbase.csv_api.types module

type annotations from https://discomap.eea.europa.eu/map/fme/AirQualityExport.htm

class airbase.csv_api.types.CSVDataJSON[source]

Bases: TypedDict

query params to https://fme.discomap.eea.europa.eu/fmedatastreaming/AirQualityDownload/AQData_Extract.fmw

NOTE - “&CountryCode=” –> all available countries - “&Pollutant=” –> all available pollutants - “&Source=” –> all available sources - no “&CountryCode=” –> no results - no “&Pollutant=” –> only SO2 (ID=1) - no “&Source=” –> error

CityName: NotRequired[str]
CountryCode: str
EoICode: NotRequired[str]
Output: Literal['HTML', 'TEXT'] | Output
Pollutant: int | Literal['']
Samplingpoint: NotRequired[str]
Source: Literal['E1a', 'E2a', 'ALL'] | Source
Station: NotRequired[str]
TimeCoverage: NotRequired[str]
Undelivered: NotRequired[str]
UpdateDate: NotRequired[str]
Year_from: NotRequired[int | Literal['']]
Year_to: NotRequired[int | Literal['']]