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.
Post
Replies
Boosts
Views
Activity
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?
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.
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.