Ancestors

Written by Rob Napier on 2024-12-15 at 18:53

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

Toot

Written by Rob Napier on 2024-12-15 at 19:37

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

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113658523794972623
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
704.408893 milliseconds
Gemini-to-HTML Time
0.347065 milliseconds

This content has been proxied by September (3851b).