Skip to content

A small wrapper library to be used with the weatherapi.com API, written in C# using dotnet

License

Notifications You must be signed in to change notification settings

drenkmann/WeatherAPI-CSharp

Repository files navigation

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.

About

A small wrapper library to be used with the weatherapi.com API, written in C# using dotnet

Topics

Resources

License

Stars

Watchers

Forks

Languages