Vincent Lammens

Terug

Weerstation API Documentatie

Endpoints:

huidige data

https://vincentlammens.be/weerstation/api/live

voorbeeld response:

{
	"observations": [
		{
			"obsTimeLocal": "2021-03-23 13:09:11",
			"solarRadiation": "248.10",
			"uv": 2,
			"winddir": 205,
			"humidity": 58,
			"metric": {
				"temp": 13.2,
				"heatIndex": 13.2,
				"dewpt": 5.1,
				"windChill": 13.2,
				"windSpeed": 3.6,
				"windGust": 5.50,
				"pressure": 1024.92,
				"precipRate": 0.00,
				"precipTotal": 0.00
			}
		}
	]
}

Minima en maxima

https://vincentlammens.be/weerstation/api/minmax

voorbeeld response:

{
	"temperature": {
		"max": {
			"value": 13.5,
			"timestamp": "12:39"
		},
		"min": {
			"value": 2.2,
			"timestamp": "06:59"
		}
	},
	"wind": {
		"max": {
			"value": 15.40,
			"timestamp": "12:09"
		}
	}
}