Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
fixed coordinates for Orlando in sample, added API documentation link…
Browse files Browse the repository at this point in the history
…s, and feedback details.
  • Loading branch information
joelmartinez committed May 30, 2012
1 parent 400c72d commit 03dd418
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -11,9 +11,15 @@ using DarkSky;
...

var darksky = new DarkSky.Api(YOUR_API_KEY);
var orlando = new Position { Latitude=28.5381f, Longitude=81.3794f };
var orlando = new Position { Latitude=28.5381f, Longitude=-81.3794f };
Task<FullForecast> response = darksky.Forecast(orlando);

response.ContinueWith(forecast => DisplayText(forecast.Result.HourSummary));
// displays something like "Rain starting in 3 Min, Stopping 30 Min Later"
```

Currently supported endpoints:
- `Forecast`, and `BriefForecast` - https://developer.darkskyapp.com/docs/forecast
- `Precipitation` - https://developer.darkskyapp.com/docs/precipitation

Please let me know if you have any feedback either by opening [an issue](https://github.com/joelmartinez/darksky-csharp/issues), [emailing me](mailto:joelmartinez@gmail.com), [commenting on my blog](http://codecube.net), or forking this project and submitting a pull request.

0 comments on commit 03dd418

Please sign in to comment.