sunrise-sunset.org API Demo

by Fran T

Version 10 (July 23, 2019)

Download (401 downloads)

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

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

Updates:
o Simplified date parsing
o Round times to the nearest minute
o Retry failed HTTP request and improve error reporting
o Added location name to output, per Invalid!Error Chan

5.0 average rating from 10 reviews

5 stars
10
4 stars
0
3 stars
0
2 stars
0
1 star
0
Warnings
0

Reviews and ratings can be submitted in the app.