-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,40 @@ | ||
# lanuv-parser | ||
# lanuv-parser | ||
|
||
Simple parser for [Luftqualitätsüberwachungssystem LUQS](https://www.lanuv.nrw.de/umwelt/luft/luftueberwachung/luftqualitaetsueber-wachungssystem-luqs) by [Landesamt für Natur, Umwelt und Verbraucherschutz Nordrhein-Westfalen LANUV](https://www.lanuv.nrw.de/). | ||
|
||
## Install | ||
|
||
``` | ||
$ npm install lanuv-parser or yarn add lanuv-parser | ||
``` | ||
|
||
## Usage | ||
```js | ||
const luqs = require('lanuv-parser') | ||
|
||
const run = async () => { | ||
const stations = await luqs() | ||
console.log(stations) | ||
} | ||
|
||
run() | ||
|
||
``` | ||
|
||
## API | ||
|
||
### luqs() | ||
Returns an array containing all LUQS stations. | ||
|
||
Source: https://www.lanuv.nrw.de/luqs/messorte/messorte.php | ||
|
||
### luqs.station(kuerzel) | ||
Returns detailed information about a specific LUQS station | ||
|
||
Source: https://www.lanuv.nrw.de/luqs/messorte/steckbrief.php?ort={KUERZEL} | ||
|
||
### luqs.aktuell() | ||
|
||
Returns the current measurements for all LUQS stations. | ||
|
||
Source: https://www.lanuv.nrw.de/fileadmin/lanuv/luft/immissionen/aktluftqual/eu_luft_akt.htm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters