Fun thing about wunderground they are still running a telnet server. I've been using it forever with some bash aliases.

alias wu='telnet rainmaker.wunderground.com'

alias weather='(sleep 0.5; echo "\n"; sleep 0.5; echo "EWR\n"; sleep 1; echo "x\n") | wu'

It uses http rather than telnet, but wttr.in is a practical replacement for this:

https://github.com/chubin/wttr.in