项目作者: christaylor181

项目描述 :
A test Apple Watch app that uses Core Location, REST calls to a web service, and JSON decoding.
高级语言: Swift
项目地址: git://github.com/christaylor181/USNO_lunar_watch.git
创建时间: 2019-02-28T21:57:31Z
项目社区:https://github.com/christaylor181/USNO_lunar_watch

开源协议:GNU General Public License v3.0

下载


USNO_lunar_watch

lunar watch screen

A minimalist Watch app that makes a REST call to the United States Naval Observatory Astronomical Applications web service. It decodes the JSON to get the lunar rise/transit/set times, and grabs a generated image of the lunar disk. Uses Core Location to figure out where you are observing from.

https://aa.usno.navy.mil/data/docs/api.php#rstt

The US Navy recently did something with their SSL cert- I had to import the site cert into Keychain on my Mac and add it to the key profile on my phone. I had to find a DoD Root CA 3 cert online and import it. The one I found was in an archive named Certificates_PKCS7_V5.4_DoD. This looks like it might be an updated one:

http://iasecontent.disa.mil/pki-pke/Certificates_PKCS7_v5.5_DoD.zip

DISCLAIMER!

This is for experimentation only- do not use for any critical purpose! The author disclaims any warranty or liability for its use.