Initial one-line output documentation (#174)
This commit is contained in:
parent
2e37f19494
commit
7cc50bec2b
1 changed files with 10 additions and 0 deletions
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:
|
wttr.in currently supports three output formats:
|
||||||
|
|
||||||
* ANSI for the terminal;
|
* ANSI for the terminal;
|
||||||
|
* ANSI for the terminal, one-line mode;
|
||||||
* HTML for the browser;
|
* HTML for the browser;
|
||||||
* PNG for the graphical viewers.
|
* PNG for the graphical viewers.
|
||||||
|
|
||||||
|
|
@ -111,6 +112,15 @@ In this example:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## One-line output
|
||||||
|
|
||||||
|
For one-line output format, specify additional URL parameter `format`:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl wttr.in/Nuremberg?format=3
|
||||||
|
Nuremberg: 🌦 +5⁰C
|
||||||
|
```
|
||||||
|
|
||||||
## Moon phases
|
## 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:
|
wttr.in can also be used to check the phase of the Moon. This example shows how to see the current Moon phase:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue