Getting Started
The published API site is generated reference documentation for the SimpleWeather library. The most important entry points are:
Typical Flow
- Create a
WeatherController - Supply an OpenWeather API key
- Request current weather or forecast data
- Read the returned strongly typed models
Example
using SimpleWeather;
var controller = new WeatherController("YOUR_API_KEY");
var current = await controller.GetCurrentWeatherAsync(new LatLong(-32.07019, 115.95726));
var forecast = await controller.GetWeatherForecastAsync(new LatLong(-32.07019, 115.95726));