Awesomio.Weather 1.1.1

OpenWeatherMap based async .NET API
     please see more info here https://github.com/awesomio/Weather.NET
     Simple .NET Weather API, currently gets supports current weather, One Call API, and hourly forecasts.

Install-Package Awesomio.Weather -Version 1.1.1
dotnet add package Awesomio.Weather --version 1.1.1
<PackageReference Include="Awesomio.Weather" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Awesomio.Weather --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Awesomio.Weather, 1.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Awesomio.Weather as a Cake Addin
#addin nuget:?package=Awesomio.Weather&version=1.1.1

// Install Awesomio.Weather as a Cake Tool
#tool nuget:?package=Awesomio.Weather&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Weather.NET

OpenWeatherMap based .NET API

Simple .NET Weather API, currently gets the current weather, One Call API and One Call API historical weather data

Please, see https://openweathermap.org/api to start easy 😃

Usage

            string accessKey = "YOUR_ACCESS_KEY";
            WeatherClient client = new WeatherClient(accessKey);
            
            CurrrentWeatherModel data = client.GetCurrentWeatherAsync<CurrrentWeatherModel>("London", "en", "metric").Result;  
            
            double feelsLike = data.Main.FeelsLike;
            double tempMin = data.Main.TempMin;
            double tempMax = data.Main.TempMax;
                       
            OneCallExclude[] oneCallExcludes = { OneCallExclude.Current, OneCallExclude.Daily };
            OneCallModel dataOneCall = client.GetOneCallApiAsync<OneCallModel>(40.12, 96.66, "en", oneCallExcludes).Result;
                

Contributing

We'd greatly appreciate any contribution you make. 😃

Weather.NET

OpenWeatherMap based .NET API

Simple .NET Weather API, currently gets the current weather, One Call API and One Call API historical weather data

Please, see https://openweathermap.org/api to start easy 😃

Usage

            string accessKey = "YOUR_ACCESS_KEY";
            WeatherClient client = new WeatherClient(accessKey);
            
            CurrrentWeatherModel data = client.GetCurrentWeatherAsync<CurrrentWeatherModel>("London", "en", "metric").Result;  
            
            double feelsLike = data.Main.FeelsLike;
            double tempMin = data.Main.TempMin;
            double tempMax = data.Main.TempMax;
                       
            OneCallExclude[] oneCallExcludes = { OneCallExclude.Current, OneCallExclude.Daily };
            OneCallModel dataOneCall = client.GetOneCallApiAsync<OneCallModel>(40.12, 96.66, "en", oneCallExcludes).Result;
                

Contributing

We'd greatly appreciate any contribution you make. 😃

Release Notes

Added additional fields for https://openweathermap.org/api/hourly-forecast.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 75 5/28/2021
1.1.0 75 5/28/2021
1.0.9 87 5/28/2021
1.0.8 220 4/16/2021
1.0.7 74 4/14/2021
1.0.6 85 3/9/2021
1.0.5 177 9/13/2020
1.0.4 160 9/11/2020
1.0.3 174 9/11/2020
1.0.2 181 9/11/2020
1.0.1 155 9/10/2020
1.0.0 171 9/10/2020