Table of Contents

Getting Started

The published API site is generated reference documentation for the SimpleWeather library. The most important entry points are:

Typical Flow

  1. Create a WeatherController
  2. Supply an OpenWeather API key
  3. Request current weather or forecast data
  4. 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));

Next Pages