"id";"title";"slug";"url";"type";"description";"remote_url";"organization";"organization_id";"image";"featured";"created_at";"last_modified";"tags";"datasets";"metric.discussions";"metric.datasets";"metric.followers";"metric.views"
"5a549f50cc765e489a80b510";"Héichwaasser App";"heichwaasser-app";"https://data.public.lu/en/reuses/heichwaasser-app/";"application";"Consultez le niveau d'eau des rivières luxembourgeoises directement et confortablement depuis votre appareil iOS.
* Carte avec toutes les stations disponibles
* Le niveau actuel est actualisé toutes les 15 minutes
* Visualisation de l'évolution des niveaux d'eau à l'aide d'un graphique
* Tableau avec toutes les mesures disponibles
* Affichage des niveaux d'alerte sur le graphique en cas de crue
* Statistiques, évolution par rapport à la dernière mesure et affichage du minimum et maximum
Cette application se base sur les données publiées par l'Administration de la gestion de l'eau sur le portail data.public.lu (https://data.public.lu/en/datasets/measured-water-levels/). Ces données sont publiées sous la license Creative Commons Zero (CC0).
Les données sont fournies à titre indicatif, sans aucune garantie !
En cas de doute, veuillez consulter le site officiel www.inondations.lu !
Si vous avez des questions ou des suggestions à faire, n'hésitez pas à nous envoyer un message à info@heichwaasser.lu";"https://itunes.apple.com/lu/app/heichwaasser/id616867924";"heichwaasser.lu";"5a3d1b7b111e9b43d7969119";"";True;"2018-01-09T11:54:08.970000";"2024-03-05T00:50:23.214000";"heichwaasser,hydrographie,inondations,water-levels";"59c220a4111e9b1de61d8864";1;1;1;60
"5a3d1c42cc765e59af4a3b67";"Héichwaasser API";"heichwaasser-api";"https://data.public.lu/en/reuses/heichwaasser-api/";"api";"This uses the [Measured water levels](https://data.public.lu/en/datasets/measured-water-levels/) and creates a JSON API.
Source code available on [Github](https://github.com/benoitfrisch/HeichwaasserApi).
Documentation
------------
Important notice: The time is given in Western European Time all year, the European Summer Time is not considered. You may have to adapt the time to your needs.
### Root
```bash
https://heichwaasser.lu/api/v1
```
### Endpoints
#### Rivers
* [GET
/rivers](https://heichwaasser.lu/api/v1/rivers)
```bash
[
{
""id"": 17,
""name"": ""Alzette"",
""stations"": [
{
""id"": 61,
""city"": ""Ettelbr\u00fcck"",
""latitude"": 49.84373,
""longitude"": 6.09713,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 69.8,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T15:30:00"",
""value"": 65.5,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 69.8,
""unit"": ""cm""
},
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 180,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 230,
""unit"": ""cm""
}
]
},...
]
}
]
```
* [GET
/rivers/:id](https://heichwaasser.lu/api/v1/rivers/17)
```bash
[
{
""id"": 17,
""name"": ""Alzette"",
""stations"": [
{
""id"": 61,
""city"": ""Ettelbr\u00fcck"",
""latitude"": 49.84373,
""longitude"": 6.09713,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 69.8,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T15:30:00"",
""value"": 65.5,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 69.8,
""unit"": ""cm""
},
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 180,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 230,
""unit"": ""cm""
}
]
},...
]
}
]
```
#### Stations
* [GET
/stations](https://heichwaasser.lu/api/v1/stations)
```bash
[
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
},...
]
```
* [GET
/stations/:id](https://heichwaasser.lu/api/v1/stations/81)
*The measurements are displayed in a descending order.*
```bash
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""measurements"": [
{
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},..
],
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
}
```
* [GET
/stations/:id/reversed](https://heichwaasser.lu/api/v1/stations/81/reversed)
*The measurements are displayed in an ascending order.*
```bash
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""measurements"": [
{
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},..
],
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
}
```
* [GET
/stations/:id/limit/:count](https://heichwaasser.lu/api/v1/stations/81/limit/10)
*The measurements are displayed in a descending order and limited to `:count` items.*
```bash
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""measurements"": [
{
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},..
],
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
}
```
* [GET
/stations/:id/limit/:count/reversed](https://heichwaasser.lu/api/v1/stations/81/limit/10/reversed)
*The measurements are displayed in an ascending order and limited to `:count` items.*
```bash
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""measurements"": [
{
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},..
],
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
}
```
* [GET
/stations/:id/start/:timestamp/end/:timestamp](https://heichwaasser.lu/api/v1/stations/81/start/1513728000/end/1513764000)
*The returned measurements are strictly greater than the start timestamp and strictly smaller than the end timestamp.*
*The measurements are displayed in a descending order.*
`:timestamp` must be provided as UNIX timestamp in seconds since Jan 01 1970.
```bash
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""measurements"": [
{
""timestamp"": ""2017-12-20T00:15:00"",
""value"": 133.6,
""unit"": ""cm""
},..
],
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
}
```
* [GET
/stations/:id/start/:timestamp/end/:timestamp/reversed](https://heichwaasser.lu/api/v1/stations/81/start/1513728000/end/1513764000/reversed)
*The returned measurements are strictly greater than the start timestamp and strictly smaller than the end timestamp.*
*The measurements are displayed in an ascending order.*
`:timestamp` must be provided as UNIX timestamp in seconds since Jan 01 1970.
```bash
{
""id"": 81,
""river"": {
""id"": 3,
""name"": ""S\u00fbre""
},
""city"": ""Bigonville"",
""latitude"": 49.86875,
""longitude"": 5.79996,
""trend"": ""rest"",
""current"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""minimum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""maximum"": {
""timestamp"": ""2017-12-27T16:45:00"",
""value"": 108.2,
""unit"": ""cm""
},
""measurements"": [
{
""timestamp"": ""2017-12-20T00:15:00"",
""value"": 133.6,
""unit"": ""cm""
},..
],
""alert_levels"": [
{
""name"": ""Level 1"",
""value"": 250,
""unit"": ""cm""
},
{
""name"": ""Level 2"",
""value"": 300,
""unit"": ""cm""
}
]
}
```
##### Explanation of ""trend"" field
On import the new water level is compared to the previous one, and the trend field is updated.
* `down` new level < previous level
* `rest` new level = previous level
* `up` new level > previous level";"https://heichwaasser.lu";"heichwaasser.lu";"5a3d1b7b111e9b43d7969119";"";True;"2017-12-22T15:52:50.130000";"2024-03-22T00:50:19.060000";"heichwaasser,hydrographie,inondations,water-levels";"59c220a4111e9b1de61d8864";6;1;0;61