Sunrise and sunset API

APIs are the coolest thing ever! I found this API on the website, an amazing website that offers this API for free. I assume it doesn´t take sun refraction into account, so I added some extra JavaScript to make the result closer to subscription based APIs.

Icon of sun going up

Sunrise today

Icon of sun going down

Sunset today