mikko / fmi-js

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 69.5%Language:HTML 30.5%