sunrise-sunset.org API Demo

by Fran T

Version 20 (September 23, 2023)

Download (1,810 downloads)

Demonstrates use of the sunrise-sunset.org/api by displaying today's or any other day's sunrise and sunset times.

The times in the response are parsed to be in the local time zone, including Daylight Saving Time.

Note: Sometimes the service is unavailable and you may see an error. It's usually back in a short time.

Updates:
o Simplified date parsing
o Round times to the nearest minute
o Retry failed HTTP request and improve error reporting
o Add location name to output, per Invalid!Error Chan
o Get the info strictly for today
o Display the info in a dialog; improve HTTP error reporting
o Add flow to show info for any date

4.6 average rating from 15 reviews

5 stars
13
4 stars
0
3 stars
1
2 stars
0
1 star
1
Reports
0

Rate and review within the app in the Community section.