2015-11-27 20:38:15 +00:00
|
|
|
# w is for Veður.is
|
|
|
|
|
|
|
|
This scripts calls the http://www.vedur.is API (Icelandic Meteorological Office) and retrievs the weather information for selected location.
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
2015-11-27 20:43:10 +00:00
|
|
|
The time range can be specified by selecting the end point.
|
2015-11-27 20:38:15 +00:00
|
|
|
|
|
|
|
`mytime += timedelta(hours=6)
|
|
|
|
`
|
|
|
|
|
2017-07-18 09:46:41 +00:00
|
|
|
The location can be passed as argv or if empty, geo ip is being used.
|
2015-11-27 20:38:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Notification
|
|
|
|
|
|
|
|
On posix systems, an onscreen notification is available.
|
|
|
|
|
|
|
|
|
|
|
|
`from gi.repository import Notify`
|
|
|
|
|
|
|
|
### Term of use
|
|
|
|
|
|
|
|
Don't DDoS vedur.is please.
|
|
|
|
|