Skip to content

arex388/Arex388.OpenWeatherMap

Repository files navigation

Arex388.OpenWeatherMap

A C# client for the OpenWeatherMap API.

To use, create an instance of OpenWeatherMapClient and pass in an instance of HttpClient and your API key. The documentation can be found here. A NuGet package is available here.

var openWeatherMap = new OpenWeatherMapClient(
	httpClient,
	"{key}",
	// debug = true/false
);

Current Weather

var response = await openWeatherMap.CurrentWeatherAsync(
	38.897675,
	-77.036547
);

About

A C# client for the OpenWeatherMap API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages