/OpenWeatherMap-Api-Net

This project is a fully asynchronous .Net 4.5 library and .Net Portable Class Library for interacting with the great OpenWeatherMap API.

Primary LanguageC#MIT LicenseMIT

OpenWeatherMap-Api-Net

This project is a fully asynchronous .NET Portable Class Library and .Net 4.5 library for interacting with the great OpenWeatherMap API.

Documentation on http://projects.joancaron.net/openweathermap/.

###Usage examples

var client = new OpenWeatherMapClient("optionalAppId");
var currentWeather = await client.CurrentWeather.GetByName("London");
Console.WriteLine(currentWeather.Weather.Value);

###Supported Platforms

  • .Net 4 and higher
  • Windows Store Apps 8 and higher
  • Silverlight 5
  • Windows Phone 8 and higher
  • Xamarin.Android
  • Xamarin.Mac

###Dependencies .Net 4.5 project

  • System.Net.Http

###Dependencies Portable project (PCL)

  • Microsoft.Bcl
  • Microsoft.Bcl.Build
  • Microsoft.Bcl.Async
  • Microsoft.Net.Http

###Copyright and License

Copyright 2014 Joan Caron

Licensed under the MIT License