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
);
var response = await openWeatherMap.CurrentWeatherAsync(
38.897675,
-77.036547
);