mirror of
https://github.com/chubin/wttr.in
synced 2024-11-15 08:37:12 +00:00
commit
3f66aa7752
1 changed files with 4 additions and 3 deletions
|
@ -78,10 +78,11 @@ To get detailed information online, you can access the [/:help](http://wttr.in/:
|
||||||
### Weather Units
|
### Weather Units
|
||||||
|
|
||||||
By default the USCS units are used for the queries from the USA and the metric system for the rest of the world.
|
By default the USCS units are used for the queries from the USA and the metric system for the rest of the world.
|
||||||
You can override this behavior by adding `?u` or `?m` to a URL like this:
|
You can override this behavior by adding `?u`, `?m` or `?M` to a URL like this:
|
||||||
|
|
||||||
$ curl wttr.in/Amsterdam?u
|
$ curl wttr.in/Amsterdam?u # USCS (used by default in US)
|
||||||
$ curl wttr.in/Amsterdam?m
|
$ curl wttr.in/Amsterdam?m # metric (SI) (used by default everywhere except US)
|
||||||
|
$ curl wttr.in/Amsterdam?M # metric (SI), but show wind speed in m/s
|
||||||
|
|
||||||
## Supported output formats and views
|
## Supported output formats and views
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue