On 23/12/2021 20.56, Per Jessen wrote:
Carlos E. R. wrote:
Run in a terminal:
curl wttr.in
Found on Usenet, alt.os.linux
Apparently, "curl wttr.in/your_zip" works. If you don't enter it, it geolocates your IP.
It looks nice, but it is gobbledegook :-)
My "zip code" is 8704, which it interprets to mean:
Location: Fierzë, Bashkia Tropojë, Qarku i Kukësit, Shqipëria veriore, 8704, Shqipëria [42.2653096,20.0293587]
Without adding "your_zip", it is even worse.
For me, it works perfectly, both methods :-) I don't know how to find information about the site. I found this only: https://github.com/chubin/wttr.in/tree/master/doc Try "https://v3.wttr.in/Bayern" There is https://github.com/chubin/wttr.in/blob/master/README.md try "curl wttr.in/Berna" It accepts 3 letter airport codes. And GPS locations Ah! curl wttr.in/:help Supported location types: /paris # city name /~Eiffel+tower # any location (+ for spaces) /Москва # Unicode name of any location in any language /muc # airport code (3 letters) /@stackoverflow.com # domain name /94107 # area codes /-78.46,106.79 # GPS coordinates -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)