mirror of
https://github.com/chubin/wttr.in
synced 2025-01-26 02:34:59 +00:00
Added example of a power shell usage (#18)
This commit is contained in:
parent
dae9b6adcd
commit
a2ea774143
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,10 @@ Here is an actual weather report for your location (it's live!):
|
|||
(It's not your actual location - GitHub's CDN hides your real IP address with its own IP address,
|
||||
but it's still a live weather report in your language.)
|
||||
|
||||
Or in PowerShell:
|
||||
|
||||
(Invoke-WebRequest http://wttr.in).Content
|
||||
|
||||
Want to get the weather information for a specific location? You can add the desired location to the URL in your
|
||||
request like this:
|
||||
|
||||
|
@ -67,6 +71,7 @@ To get detailed information online, you can access the [/:help](http://wttr.in/:
|
|||
|
||||
$ curl wttr.in/:help
|
||||
|
||||
|
||||
### 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.
|
||||
|
|
Loading…
Reference in a new issue