You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.3 KiB

Weather Web-Scraper

An utility to scrape italian weather websites to collect and compare weather information

Usage

CAUTION
The following utility is in EARLY developement. Many promises made in this readme might not actually be true. Hopefully one day we'll be out of beta ~and be releasing on time~

The scraper collects data and arranges in the following scheme

{
    "today": {
        "[0..23]": {
            "temperature": {
                "type": "number",
                "unitOfMeasurement": "degrees",
                "description": "expected temperature at the given hour"
            },
            "precipitation": {
                "type": "number",
                "unitOfMeasurement": "mm",
                "description": "expected precipitation at the given hour"
            }
        }
    },
    "tomorrow": {
        "[0..23]": {}
    },
    "dayAfterTomorrow": {
        "[0..23]": {}
    },
    "week": {
        "[0..6]": {}
    }
}

WARNING
The script is configured to run on Nix, and because of this is more complicated than it needs to be. You can remove unnecessary stuff if you're not running this on nix

Sources

These are the sources that are currently implemented or will be implemented eventually, together with the current level of implementation

✅ = implemented
🚧 = partially implemented
⛔️ = Not implemented
Source Status Comments
iLMeteo 🚧 precipitations are not yet interpolated and are given as the scraped string. Furthermore, there is not yet weather for the week
3BMeteo
Meteo Aeronautica Militare