$ curl -s "http://www.google.com/ig/api?weather=New%20York" | sed 's|.*<temp_f data="\([^"]*\)"/>.*|\1|'
Will return temperature in Fahrenheit of a location (New York City in example).
Uses a Google API.
Diff your entire server config at ScriptRock.com