WeatherAPI-CSharp 0.5.5

dotnet add package WeatherAPI-CSharp --version 0.5.5
                    
NuGet\Install-Package WeatherAPI-CSharp -Version 0.5.5
                    
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="WeatherAPI-CSharp" Version="0.5.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WeatherAPI-CSharp" Version="0.5.5" />
                    
Directory.Packages.props
<PackageReference Include="WeatherAPI-CSharp" />
                    
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 WeatherAPI-CSharp --version 0.5.5
                    
#r "nuget: WeatherAPI-CSharp, 0.5.5"
                    
#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 WeatherAPI-CSharp@0.5.5
                    
#: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=WeatherAPI-CSharp&version=0.5.5
                    
Install as a Cake Addin
#tool nuget:?package=WeatherAPI-CSharp&version=0.5.5
                    
Install as a Cake Tool

License Documentation Nuget Nuget Development Status

All badges are clickable for more information

 

WeatherAPI CSharp

This is a small wrapper library to be used with the weatherapi.com API. It is a much simpler alternative to the official library, with the goal to make building any kind of weather app easy. There are no complicated classes are functions to worry about, you just create your client, call the function, and get perfectly parsed, easily acessable data returned, no need for verbose code.

Getting started (Extract from the documentation)

To get started, you can take a look at the minimal setup down below.

Install the package

dotnet add package WeatherAPI-CSharp

Setup a minimal project

using WeatherAPI_CSharp;

var client = new APIClient("YOUR-API-KEY");

var weather = await client.GetWeatherCurrentAsync("Berlin");
Console.WriteLine($"The temperature in Berlin is {weather.TemperatureCelsius}C at a wind speed of {weather.WindKph}km/h");

API Implementation

The currently implemented endpoints are:

Contribution

For contribution guidelines, refer to the documentation. Coding guidelines can be found here, and contribution guidelines can be found here.

Development Status

Status Description
Active The project is actively being worked on and new features are being added
On Demand Bugs and other Issues will be fixed, but no new features will be added
Paused No development will take place at the moment, but this may change in the future
Ceased The project will not be worked on AT ALL

The development status can change at any time in both ways (more/less work being done).

License

This software is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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. 
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.