API Type 2 - weather (SRF)
Beware: if a customer does not use data of Meteo SRF, this endpoint looks different: weather
main entities
|
| count | int | any valid value | number of objects |
| items | array | items | items |
items
|
| id | int | any valid value | id of station |
| name | string | max. 255 chars | name |
| today | object | prognosis | prognosis for today |
| tomorrow | object | prognosis | prognosis for tomorrow |
| after | object | prognosis | prognosis for the day after tomorrow |
| YYY-MM-DD | object | prognosis | prognosis for days after |
prognosis
|
| symbol | int | weather symbol | weather symbol |
| tempMin | float | any valid value | min. temperature |
| tempMax | float | any valid value | max. temperature |
| windForce | int | any valid value | wind force |
| windMax | int | any valid value | max. wind force |
| windDir | int | 0-360 | wind direction in degrees |
| rain | int | any valid value | rain in mm |
| rainProb | int | any valid value | probability of rain in % |
| sunrise | time | any valid value | time of sunrise |
| sunset | time | any valid value | time of sunset |
| translation | object | translation | forecast (only for 4 days) |
| symbolAm | int | weather symbol | weather symbol morning (only for 4 days) |
| symbolPm | int | weather symbol | weather symbol afternoon (only for 4 days) |
| tempAm | int | any valid value | average temperature morning (only for 4 days) |
| tempPm | int | any valid value | average temperature morning (only for 4 days) |
translation
|
| de | string | max. 255 chars | german |
| fr | string | max. 255 chars | french |
| it | string | max. 255 chars | italian |
| en | string | max. 255 chars | english |
| es | string | max. 255 chars | spanish |
| nl | string | max. 255 chars | dutch |
weather symbol
The following Iconset contains all symbols:
SVG, colored
SVG, black
SVG, white
PNG, black (old set)
Beware: these iconsets cannot be used for manually maintained weather, the symbols are different.