
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
.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.
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.
The following sections document basic use cases of this library. The following code excerpts can also be found in the sample applications.
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
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.
Check the terms and conditions of the Federal Office of Meteorology and Climatology MeteoSwiss before using this client library.
FAQs
.NET API for Swiss national weather provider MeteoSwiss
We found that meteoswissapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.