Documentation sections

  1. How to's
  2. XSLT Samples
  3. Unit Tests
  4. Release notes

Getting started

Before using the library, you need to register with weather.com to receive Partner Id and License Key for interaction with the web service. Visit weather.com and sign-up for the service. Required authentication data will arrive to you via email. Registration email will also contain link to SDK, which outlines how the consumer has to interact with the Weather.com web service.

Sample code to get weather conditions for today can be found below. How to's section can be viewed for more examples.

WeatherClient client = new WeatherClient("[Partner Id here]", "[License Key here]");
List<Location> locations = client.GetLocation("Warsaw,Poland");
Location location = locations[0];
CurrentWeatherInfo conditions = client.GetCurrentConditions(location);

Installation

Binaries included in 'Downloads' section require .NET Framework 2.0 or higher version of the framework installed on the machine. Weather.com.Client.dll is strongly signed, key used to signed assembly is available in the 'Source Code' section.


Last edited Jul 6, 2011 at 6:36 PM by mulawam, version 13

Comments

gtwilliams3 Oct 14, 2011 at 6:28 PM 
Love this client. Is this recent posting going to obsolete your library? http://portal.theweatherchannel.com/ Looks like the Weather Channel wants to charge for this now?

mark00153 Jun 11, 2011 at 2:04 PM 
Great work!