bgauslin / moon

Location-based moon phase, moonrise, and moonset.
1 stars 0 forks source link

Add solunar.org API #5

Closed bgauslin closed 5 years ago

bgauslin commented 5 years ago

Request format:

https://api.solunar.org/solunar/latitude,longitude,date,tz

Unlike the other APIs, solunar needs lat/lng coordinates instead of a location name, so those will need to fetched prior to fetching data from the solunar API.

After solunar is wired up, get rid of WWO entirely since the WWO API is too unreliable.

bgauslin commented 5 years ago

Yeah, let's not do this in favor of using a library. That way, we can also get better PWA performance when that happens.