Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like this command, as an alias, it combines all wttr.in's versions (v3 doesn't quite seem to work yet):

    alias weather="curl wttr.in && curl v2.wttr.in && curl v3.wttr.in"


v3 does work, but you need to guess the appropriate region.

The Bayern.sxl example works, and is a good way to prove to yourself that your terminal is compatible, instead of your hoped-for region not being indexed.

    curl v3.wttr.in/Bayern.sxl

    curl v3.wttr.in/California.sxl


Yeah is there a list of the sxl regions? I tried a few, like Paris, and they didn't work so I gave up.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: