An asynchronous .NET Standard 2.0 library that allows you to fetch & cache current weather readings from the OpenWeather API, with built-in resiliency that can extend the cache lifetime in case the API is unreachable.
Info
Version: | 1.10.3 |
Author(s): | Mark Cilia Vincenti |
Last Update: | Tuesday, January 23, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/MarkCiliaVincenti/OpenWeatherMap.Cache |
NuGet Url: | https://www.nuget.org/packages/OpenWeatherMap.Cache |
Install
Install-Package OpenWeatherMap.Cache
dotnet add package OpenWeatherMap.Cache
paket add OpenWeatherMap.Cache
OpenWeatherMap.Cache Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.Extensions.Caching.Memory(>= 5.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 5.0.0)
- System.Text.Json(>= 5.0.0)
- UnitsNet(>= 4.80.0)
Tags