/ Published in: Bash
replace your "zipcode" with your zipcode
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
curl -s "http://www.google.com/ig/api?weather=zipcode" | sed 's|.*<temp_f data="\([^"]*\)"/>.*|\1|'