python-forecast.io
python-forecast.io copied to clipboard
A thin Python Wrapper for the Dark Sky (formerly forecast.io) weather API
I am trying to run a basic Python example from your GitHub repo for which I need an API key. Your website says "We are no longer accepting new signups."...
I've got a script built to report daily data forecasts, but sometimes I get the forecastio.utils.PropertyUnavailable error. I understand that this means there is no data for the particular forecast...
What is the correct way to create a Flag Object so that I can then proceed to gather the following data: > **nearest-station** required > The distance to the nearest...
these changes allow a Forecast object to be pickled properly, and fix a problem where alerts weren't being updated properly
This adds configurable timeout to fix #57.
when a call to Forecast update() is made, the alerts don't seem to get updated in ```init``` you have ``` self._alerts = [] for alertJSON in self.json.get('alerts', []): self._alerts.append(Alert(alertJSON)) ```...
I only need to get `forecast.currently()`. So, I would like to exclude getting the minutely, hourly, daily, alerts, and flags data (to reduce latency). The [Dark Sky documentation](https://darksky.net/dev/docs/forecast) supports an...
All requests made should define timeouts or the script could hang indefinitely.
Currently some of the API options (https://developer.forecast.io/docs/v2#options) can be accessed by optional function parameters to `load_forecast()`. The forecast units is an example of an API option which is supported. However...
This PR adds a 10 second timeout to prevent requests from staying open forever.