Skip to content

Gamoya/WeatherUnlocked

Repository files navigation

WeatherUnlocked

An aot compatible .NET client for Weather Unlocked (http://www.weatherunlocked.com/)

NuGet GitHub

Prerequisites

Get API-Key from http://www.weatherunlocked.com/

Usage

string appId = "{your appId}";
string appKey = "{your appKey}";
string languageCode = "en";
bool ssl = false;

decimal latitude = 52.520008m;
decimal longitude = 13.404954m;

using (var weatherUnlockedClient = new Gamoya.Weather.WeatherUnlocked.WeatherUnlockedClient(appId, appKey, languageCode, ssl)) {
    var currentWeather = await GetCurrentWeatherAsync(latitude, longitude);
    var forecastWeather = await GetForecastWeatherAsync(latitude, longitude);
}

About

aot compatible .NET client for WeatherUnlocked

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages