-
Notifications
You must be signed in to change notification settings - Fork 0
/
9weather.man
54 lines (54 loc) · 923 Bytes
/
9weather.man
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.TH 9WEATHER 1
.SH NAME
9weather \- weather forecast
.SH SYNOPSIS
.B 9weather
[
.I -d seconds
]
[
.I -i
]
[
.I -z zip,country
]
[
.I -k apikey
]
.SH DESCRIPTION
.I 9weather
retrieves weather data from OpenWeatherMap and requires an API key for
access. You can easily obtain a free API key by registering at
http://openweathermap.org/
.PP
By default, 9weather fetches weather data every 5 minutes. This interval
can be changed by setting the
.I \-d
flag, followed by the desired delay in seconds.
.PP
9weather normally displays the temperature in metric units, to display
in imperial units add the
.I \-i
flag.
.PP
9weather uses the environment variable
.B openweathermap
to obtain the API key and
.B ZIP
to determine the geolocation, they both can be overwritten
with the
.I \-z
and
.I \-k
flag respectively.
.EE
.SH EXAMPLES
.EX
9weather -z Stockholm -k my_api_key
.EE
.SH SEE ALSO
.EX
weather(1)
.EE
.SH BUGS
Probably.