mirror of
https://github.com/chubin/wttr.in
synced 2024-12-25 19:23:14 +00:00
Update README.md
Made sentences more concise, removed redundancy, and corrected some punctuation mistakes.
This commit is contained in:
parent
a0a7886e80
commit
b98c51c4de
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -1,8 +1,8 @@
|
||||||
*wttr.in — the right way to check the weather.*
|
*wttr.in — the right way to check the weather.*
|
||||||
|
|
||||||
wttr.in is a console oriented weather forecast service, that supports various information representation methods
|
wttr.in is a console oriented weather forecast service, that supports various information representation methods
|
||||||
like terminal oriented ANSI-sequences for console HTTP clients such as curl, httpie or wget;
|
like terminal oriented ANSI-sequences for console HTTP clients (curl, httpie, or wget),
|
||||||
HTML for web browsers; or PNG for graphical viewers.
|
HTML for web browsers, or PNG for graphical viewers.
|
||||||
wttr.in uses [wego](http://github.com/schachmat/wego) for visualization
|
wttr.in uses [wego](http://github.com/schachmat/wego) for visualization
|
||||||
and various data sources for weather forecast information.
|
and various data sources for weather forecast information.
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ That is how the actual weather report for your location looks like (it is live!)
|
||||||
|
|
||||||
![Weather Report](http://wttr.in/MyLocation.png?)
|
![Weather Report](http://wttr.in/MyLocation.png?)
|
||||||
|
|
||||||
(it's not your location actually, because GitHub's CDN hides your real IP address with its own IP address,
|
(it's not your location actually. GitHub's CDN hides your real IP address with its own IP address,
|
||||||
but it is still a live weather report in your language).
|
but it is still a live weather report in your language).
|
||||||
|
|
||||||
You can specify the location that you want to get the weather information for.
|
You can specify the location that you want to get the weather information for.
|
||||||
|
@ -36,14 +36,14 @@ based on your IP address.
|
||||||
$ curl wttr.in/London
|
$ curl wttr.in/London
|
||||||
$ curl wttr.in/Moscow
|
$ curl wttr.in/Moscow
|
||||||
|
|
||||||
You can use 3-letters airport codes if you want to get the weather information
|
Use 3-letters airport codes in order to get the weather information
|
||||||
about some airports:
|
at a certain airport:
|
||||||
|
|
||||||
$ curl wttr.in/muc # Weather for IATA: muc, Munich International Airport, Germany
|
$ curl wttr.in/muc # Weather for IATA: muc, Munich International Airport, Germany
|
||||||
$ curl wttr.in/ham # Weather for IATA: ham, Hamburg Airport, Germany
|
$ curl wttr.in/ham # Weather for IATA: ham, Hamburg Airport, Germany
|
||||||
|
|
||||||
If you want to specify a location that is not a city/town's name, but a name of some geographical location
|
If you want to use some geographical location (not just a town or a city)
|
||||||
(e.g. it can be a site in a city, a mountain name, a special location etc.) you should place `~` before its name.
|
(e.g. it can be a site in a city, a mountain name, a special location, etc.) you should place `~` before its name.
|
||||||
That means the location name should be looked up before:
|
That means the location name should be looked up before:
|
||||||
|
|
||||||
$ curl wttr.in/~Vostok+Station
|
$ curl wttr.in/~Vostok+Station
|
||||||
|
@ -93,7 +93,7 @@ to separate them with `_` instead of `?` and `&`:
|
||||||
|
|
||||||
$ wget wttr.in/Paris_0tqp_lang=fr.png
|
$ wget wttr.in/Paris_0tqp_lang=fr.png
|
||||||
|
|
||||||
Special useful options for the PNG format:
|
Useful options for the PNG format:
|
||||||
|
|
||||||
* `t` for transparency (`transparency=150`);
|
* `t` for transparency (`transparency=150`);
|
||||||
* transparency=0..255 for a custom transparency level.
|
* transparency=0..255 for a custom transparency level.
|
||||||
|
@ -114,7 +114,7 @@ Here:
|
||||||
|
|
||||||
## Special pages
|
## Special pages
|
||||||
|
|
||||||
wttr.in can be used not only to check the weather, but also for some other purposes:
|
wttr.in can be used not only to check the weather:
|
||||||
|
|
||||||
$ curl wttr.in/Moon
|
$ curl wttr.in/Moon
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue