Skip to content

Repository files navigation

OpenWeatherMap

An aot compatible .NET client for OpenWeatherMap (https://openweathermap.org/)

NuGet versionNuGet downloadsGitHub

Prerequisites

Get API-Key from https://openweathermap.org/

Usage

stringapiKey="{your apiKey}";varsettings=newGamoya.Weather.OpenWeatherMap.Settings{Units=Units.Metric,LanguageCode="en"};decimallatitude=52.520008m;decimallongitude=13.404954m;using(varopenWeatherMapClient=newGamoya.Weather.OpenWeatherMap.OpenWeatherMapClient(apiKey,settings)){varcurrentWeather=awaitGetCurrentWeatherAsync(latitude,longitude);varforecastWeather=awaitGetForecastWeatherAsync(latitude,longitude);}

About

aot compatible .NET client for OpenWeatherMap

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages