GET
Forecast by geolocationid
Returns forecasts for a location term.
The geolocation id can be retreived from the below methods/endpoints
- Geolocation by latitude and longitude. (https://api.srgssr.ch/srf-meteo/geolocations)
- GeolocationNames by name or zip (https://api.srgssr.ch/srf-meteo/geolocationNames)
https://api.srgssr.ch/srf-meteo /forecast/{geolocationId}
Name | Values | Description |
---|---|---|
Content-Type |
|
|
Content-Type |
|
|
Authorization |
Specify access token for API in the given format: Bearer [access_token]. |
geolocationId null true
HTTP Code | Error Code | Description |
---|---|---|
400 |
Invalid request |
|
401 |
Invalid or expired access token |
|
404 |
Resource not found |
Resource Summary
Security |
Category |
---|---|
Forecast |