Added example of a power shell usage (#18)

This commit is contained in:
Igor Chubin 2020-04-23 19:19:07 +02:00 committed by GitHub
parent dae9b6adcd
commit a2ea774143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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, (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.) 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 Want to get the weather information for a specific location? You can add the desired location to the URL in your
request like this: request like this:
@ -67,6 +71,7 @@ To get detailed information online, you can access the [/:help](http://wttr.in/:
$ curl wttr.in/:help $ curl wttr.in/:help
### 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.