mirror of
https://github.com/chubin/wttr.in.git
synced 2024-10-05 09:52:13 +02:00
Initial one-line output documentation (#174)
This commit is contained in:
parent
2e37f19494
commit
7cc50bec2b
10
README.md
10
README.md
@ -80,6 +80,7 @@ You can override this behavior by adding `?u` or `?m` to a URL like this:
|
||||
wttr.in currently supports three output formats:
|
||||
|
||||
* ANSI for the terminal;
|
||||
* ANSI for the terminal, one-line mode;
|
||||
* HTML for the browser;
|
||||
* PNG for the graphical viewers.
|
||||
|
||||
@ -111,6 +112,15 @@ In this example:
|
||||
|
||||
![Picture with weather data](https://pbs.twimg.com/media/C69-wsIW0AAcAD5.jpg)
|
||||
|
||||
## One-line output
|
||||
|
||||
For one-line output format, specify additional URL parameter `format`:
|
||||
|
||||
```
|
||||
$ curl wttr.in/Nuremberg?format=3
|
||||
Nuremberg: 🌦 +5⁰C
|
||||
```
|
||||
|
||||
## Moon phases
|
||||
|
||||
wttr.in can also be used to check the phase of the Moon. This example shows how to see the current Moon phase:
|
||||
|
Loading…
Reference in New Issue
Block a user