🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

lanuv-parser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lanuv-parser

Parse LANUV website for LUQS (Air Quality) stations

0.2.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

lanuv-parser

Simple parser for Luftqualitätsüberwachungssystem LUQS by Landesamt für Natur, Umwelt und Verbraucherschutz Nordrhein-Westfalen LANUV.

Install

$ npm install lanuv-parser or yarn add lanuv-parser

Usage

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

Optionally accepts an options object as first parameter:

  • status: aktiv|inaktiv|alle returns stations with the specified status
  • allStations: true returns all active and inactive stations. Overrides the status option Deprecated

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

Keywords

lanuv

FAQs

Package last updated on 04 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts