Pirate-Weather/pirateweather

Add dusk and dawn

cloneofghosts opened this issue · 3 comments

Discussed in #144

Originally posted by @markandersonus January 25, 2024
Would it be possible to add these: sunrise, sunset, dusk and sawn

Yes! Let's add this one to the board. I use Astral for sunrise and sunset, so since it's already calculating that stuff, it's easy to add in.

This is live! Added dusk (duskTime) and dawn (dawnTime) in to v2.0i; however, since they're not in the Dark Sky fields, you'll have to add "version=2" to the URL in order to see them.

Thanks again for this suggestion!

@markandersonus this has been added to the latest version of the 2.0 development version of the API. Since this has been added I'm going to close this issue.