MeteoSwissApi 3.2.10

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MeteoSwissApi --version 3.2.10
                    
NuGet\Install-Package MeteoSwissApi -Version 3.2.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MeteoSwissApi" Version="3.2.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeteoSwissApi" Version="3.2.10" />
                    
Directory.Packages.props
<PackageReference Include="MeteoSwissApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MeteoSwissApi --version 3.2.10
                    
#r "nuget: MeteoSwissApi, 3.2.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MeteoSwissApi@3.2.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MeteoSwissApi&version=3.2.10
                    
Install as a Cake Addin
#tool nuget:?package=MeteoSwissApi&version=3.2.10
                    
Install as a Cake Tool

MeteoSwissApi

Version Downloads

.NET client for easy access of Swiss national weather data. This library is a private, non-commercial project and is by no means related to or maintained by the Federal Office of Meteorology and Climatology MeteoSwiss.

Download and Install MeteoSwissApi

This library is available on NuGet: https://www.nuget.org/packages/MeteoSwissApi Use the following command to install MeteoSwissApi using NuGet package manager console:

PM> Install-Package MeteoSwissApi

You can use this library in any .NET project which is compatible to .NET Standard 2.0 and higher.

API Usage

The following sections document basic use cases of this library. The following code excerpts can also be found in the sample applications.

Request weather info by PLZ

MeteoSwissWeatherService is the main entry point of this library. Create an instance of MeteoSwissWeatherService or inject IMeteoSwissWeatherService using dependency injection techniques.

IMeteoSwissWeatherService weatherService = new MeteoSwissWeatherService(logger, weatherServiceConfiguration);

Request weather information for any Swiss zip code (plz):

var weatherInfo = await weatherService.GetCurrentWeatherAsync(plz: 6330);

Federal Office of Meteorology and Climatology MeteoSwiss https://www.meteoschweiz.admin.ch

WSL Institute for Snow and Avalanche Research SLF www.slf.ch

Contribution

Contributors welcome! If you find a bug or you want to propose a new feature, feel free to do so by opening a new issue on github.com.

License

Check the terms and conditions of the Federal Office of Meteorology and Climatology MeteoSwiss before using this client library.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.21-pre 86 1/1/2026
3.2.20-pre 406 12/1/2025
3.2.19-pre 124 11/1/2025
3.2.18-pre 193 10/1/2025
3.2.17-pre 171 9/1/2025
3.2.16-pre 151 8/1/2025
3.2.15-pre 190 7/1/2025
3.2.14-pre 180 6/1/2025
3.2.13-pre 224 5/1/2025
3.2.11-pre 188 4/1/2025
3.2.10 276 3/1/2025
3.2.8-pre 143 3/1/2025
3.1.8-pre 170 3/1/2025
3.1.5-pre 141 1/1/2025
3.1.4-pre 117 12/1/2024
3.1.3-pre 155 11/1/2024
3.1.1-pre 148 10/8/2024
3.0.90-pre 150 10/1/2024
3.0.89-pre 131 9/30/2024
3.0.88-pre 172 9/1/2024
3.0.87-pre 121 8/1/2024
3.0.86-pre 150 7/1/2024
3.0.85-pre 149 6/1/2024
3.0.84 246 5/17/2024
3.0.83-pre 179 5/1/2024
3.0.81-pre 141 4/29/2024
3.0.79-pre 167 4/21/2024
3.0.78-pre 222 4/1/2024
3.0.76-pre 167 3/11/2024
3.0.75-pre 174 3/1/2024
3.0.74-pre 154 2/1/2024
3.0.73-pre 164 1/26/2024
3.0.72 323 1/7/2024
3.0.70-pre 186 1/7/2024
3.0.69-pre 173 1/3/2024
3.0.68 263 1/3/2024
3.0.67-pre 180 1/3/2024
3.0.64-pre 287 12/2/2023
3.0.63-pre 154 12/1/2023
3.0.62-pre 195 11/1/2023
3.0.61-pre 170 11/1/2023
3.0.60-pre 173 10/30/2023
3.0.59-pre 199 10/30/2023
3.0.58-pre 154 10/19/2023
3.0.57 252 10/1/2023
3.0.56-pre 183 10/1/2023
3.0.54-pre 178 9/24/2023
3.0.53-pre 190 9/23/2023
3.0.51-pre 179 9/20/2023
3.0.49-pre 179 9/19/2023
3.0.45-pre 197 9/13/2023
3.0.43-pre 196 9/12/2023
3.0.39-pre 207 9/3/2023
3.0.36-pre 183 9/3/2023
3.0.32-pre 218 9/1/2023
3.0.30-pre 213 8/29/2023
3.0.29-pre 218 8/28/2023
3.0.25-pre 236 8/27/2023
3.0.23-pre 219 8/27/2023
3.0.17-pre 262 8/27/2023
3.0.13-pre 209 8/22/2023
3.0.12-pre 211 8/17/2023
3.0.8-pre 210 8/16/2023
3.0.6-pre 246 8/11/2023
3.0.3-pre 218 8/11/2023
3.0.0-pre 236 8/10/2023
2.0.6-pre 236 8/1/2023
2.0.5-pre 281 7/1/2023
2.0.4 299 6/12/2023
2.0.1-pre 238 5/24/2023
1.3.9-pre 245 6/1/2023
1.3.8 305 5/23/2023
1.3.7-pre 284 5/23/2023
1.2.9-pre 277 5/1/2023
1.2.8-pre 252 4/1/2023
1.2.7 374 3/14/2023
1.2.5-pre 271 3/14/2023
1.2.3-pre 265 3/13/2023
1.2.2-pre 277 3/1/2023
1.2.1-pre 324 2/6/2023
1.1.7-pre 290 2/1/2023
1.1.6-pre 316 1/1/2023
1.1.5-pre 301 12/30/2022
1.1.4-pre 283 12/30/2022
1.1.3 473 12/28/2022
1.1.1-pre 325 12/27/2022
1.0.28-pre 293 12/27/2022
1.0.26-pre 315 12/27/2022
1.0.25-pre 269 12/25/2022
1.0.24-pre 293 12/18/2022
1.0.23-pre 278 12/11/2022
1.0.22-pre 322 12/4/2022
1.0.21 471 12/3/2022
1.0.19-pre 297 11/30/2022
1.0.18 470 11/29/2022
1.0.16-pre 291 11/29/2022
1.0.11-pre 296 10/1/2022
1.0.10-pre 314 8/21/2022
1.0.9 583 8/21/2022
1.0.7-pre 326 8/21/2022
1.0.6-pre 288 8/21/2022
1.0.5 585 8/21/2022
1.0.2-pre 289 8/21/2022
1.0.0-pre 340 8/21/2022

3.2
- Add model for climate information (KlimaGraph) to WeatherInfo.

3.1
- Extend models Forecast and GraphDetail with new properties

3.0
- Add service to retrieve SwissMetNet weather stations
- Add service to retrieve SLF weather stations
- Add response caching
- Add high-contrast svg icons
- Add support for Microsoft.Extensions.DependencyInjection

2.0
- Replace Temperature type with UnitsNet Temperature

1.3
- Maintenance updates

1.2
- Maintenance updates

1.1
- Add new method GetForecastAsync
- Handle properties WarnType and WarnLevel with custom types

1.0
- Initial release