Posts

Post not yet marked as solved
0 Replies
282 Views
When pulling via the REST API DayWeatherConditions objects from the forecastDaily data set, I'm noticing that for today's DayWeatherConditions no daytimeForecast nor overnightForecast is available at 8 AM each day in my location, but will be available a few minutes later (say 8:05 AM). What explains this inconsistency? In other words each day day at 8 AM I pull and the returned dictionary is missing the optional key/value pairs for daytimeForecast and overnightForecast, but a few minutes later after performing the same exact request, they are available.
Posted
by davecom.
Last updated
.
Post not yet marked as solved
1 Replies
1.6k Views
Hi All, I started a simple wrapper for WeatherKit's REST API in Python. You can find it here: https://github.com/davecom/PyWeatherKit Right now it's extremely rudimentary. It can just produce a correct authentication token and retrieve a dictionary of weather data for some latitude/longitude. That's really all I need. But I thought I would put it out there incase others are interested and we can then maybe make the results more Pythonic. Cheers.
Posted
by davecom.
Last updated
.
Post not yet marked as solved
1 Replies
821 Views
Is it possible to request maintenance of a network connection during sleep ala certain built-in OS X apps? I am writing an OS X GUI app that I would like to run indefinitely and continue making network requests even while the computer is put to sleep. This is for a non-app store, privately distributed app.
Posted
by davecom.
Last updated
.
Post marked as solved
8 Replies
3.9k Views
Will there be web browser/iTunes accessible links for Apple TV apps? Can an app be purchased through iTunes on another device type? How do I link to my app from an external website?
Posted
by davecom.
Last updated
.
Post not yet marked as solved
0 Replies
625 Views
From trying it, and from the docs, I understand that we can only call measure() with a closure once for a particular test. What if I want to measure the performance of two different blocks of code any only have the test pass if one is more performant than the other?
Posted
by davecom.
Last updated
.