Created
April 20, 2011 19:18
-
-
Save max-mulawa/932410 to your computer and use it in GitHub Desktop.
WeatherClient 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WeatherClient client = new WeatherClient( | |
"[Partner Id here]" | |
, "[License Key here]"); | |
List<Location> locations = client.GetLocation("Warsaw,Poland"); | |
Location location = locations[0]; | |
//when querying service for 3 days, | |
//it will return information for today and 2 following days. | |
int days = 3; | |
ForecastWeatherInfo weatherForecast = client.GetWeatherForecast( | |
location | |
, days); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment