0.1.0 • Published 7 years ago

fmi-js v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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