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:
TypedDictquery 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]
- Pollutant: int | Literal['']
- Samplingpoint: NotRequired[str]
- Station: NotRequired[str]
- TimeCoverage: NotRequired[str]
- Undelivered: NotRequired[str]
- UpdateDate: NotRequired[str]
- Year_from: NotRequired[int | Literal['']]
- Year_to: NotRequired[int | Literal['']]