7 ms·
curl 'http://api.openweathermap.org/data/2.5/weather?q=london&mode=json&units=metric' http://api.openweathermap.org/data/2.5/weather?q=london&mode... &>/dev/nul
by zaargy 11y ago
curl 'http://api.openweathermap.org/data/2.5/weather?q=london&mode=json&units=metric' http://api.openweathermap.org/data/2.5/weather?q=london&mode... &>/dev/null | jgrep -s main.temp | figlet
Put this in a function. Done.
Gist here since copying and pasting above didn't work. https://gist.github.com/zaargy/384889cb44960e8559d5 https://gist.github.com/zaargy/384889cb44960e8559d5
- feld 11y agoMy first thought was "pipe into figlet, done."
- tacticiankerala 11y agoThat's a good one!