Posted By

adkatrit on 02/21/10


Tagged

google weather api


Versions (?)

Weather from the command line


 / Published in: Bash
 

replace your "zipcode" with your zipcode

  1. curl -s "http://www.google.com/ig/api?weather=zipcode" | sed 's|.*<temp_f data="\([^"]*\)"/>.*|\1|'

Report this snippet  

You need to login to post a comment.