/fmi-js

Simple utility for fetching weather data in JSON format using FMI open data

Primary LanguageJavaScriptMIT LicenseMIT

fmi-js

Simple utility for fetching weather data in JSON format using FMI open data

Usage

  1. Get api token for FMI
  2. Save api token in config.json { "apiKey": "abcde" } or environment variable FMI_APIKEY
  3. npm start

Available queries

Simple forecast

Weather forecast fetched to a specific location.

Parameters

  • place, location for the forecast

Latest observations

Real time weather observations from weather stations for the last 12 hours.

Parameters

  • place, location for the observations