Permalink
Browse files

updated readme to reflect API method change

  • Loading branch information...
1 parent b696903 commit a8ac671607ac64c9f4fb9976d28bb0710a1d8b3b @joelmartinez committed Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -10,7 +10,7 @@ using DarkSky;
...
var darksky = new DarkSky.Api(YOUR_API_KEY);
var orlando = new Position { Latitude=28.5381d, Longitude=-81.3794d };
-Task<FullForecast> response = darksky.Forecast(orlando);
+Task<FullForecast> response = darksky.GetForecastAsync(orlando);
response.ContinueWith(forecast => DisplayText(forecast.Result.HourSummary));
// displays something like "Rain starting in 3 Min, Stopping 30 Min Later"

0 comments on commit a8ac671

Please sign in to comment.