Forecast

Method
Description
GET
Day forecast by geolocationidhttps://api.srgssr.ch/srf-meteo/forecast/{geolocationId}/day
Returns forecast data only day for a geolocation id. 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)
GET
Forecast by geolocationidhttps://api.srgssr.ch/srf-meteo/forecast/{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)
GET
List of temperature colormappingshttps://api.srgssr.ch/srf-meteo/colors
Returns the complete list of temperature-color mappings

Geo

Method
Description
GET
GeolocationNames by name or ziphttps://api.srgssr.ch/srf-meteo/geolocationNames
Searches geolocationNames by given name or zip
GET
Geolocation by latitude and longitudehttps://api.srgssr.ch/srf-meteo/geolocations
Returns a collection of geolocation objects within a distance of 10km of latitude and longitude
GET
Geolocation by Idhttps://api.srgssr.ch/srf-meteo/geolocations/{id}
Returns a single geolocation object including its geolocationNames
GET
Geolocationnames by Idhttps://api.srgssr.ch/srf-meteo/geolocationNames/{id}
Returns a singe geolocationName object