Has anyone used WeatherKit from a commandline tool? I've set up the capability on my bundle identifier at developer.apple.com, but in Xcode the capability doesn't appear in the "+ Capability" list. I could fall back to the REST API, but that adds a lot of complexity that the Swift framework does for you.
=> More informations about this toot | More toots from cocoaphony@mastodon.social
Though I'm not sure if I can fall back to the REST API or not. I want historical data (dailyStatistics in the Swift API), and I'm not seeing that available on the REST side. It looks like you might be able to take specific snapshots by passing currentAsOf, but I don't see anywhere they publish high/low temperatures for a given day.
(I'm computing degree-days for an energy-tracking tool I'm working on.)
=> More informations about this toot | More toots from cocoaphony@mastodon.social
text/gemini
This content has been proxied by September (3851b).