Post

Replies

Boosts

Views

Activity

daytimeForecast and overnightForecast Availability
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.
0
0
354
Apr ’23
Simple Python WeatherKit REST API Wrapper
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.
1
2
1.9k
Jul ’22
Network Connection During Sleep
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.
1
0
923
Sep ’15