Posted By

adkatrit on 02/21/10


Tagged

google api


Versions (?)

Last Edited at 02/21/10 05:06pm

Viewed 1 times

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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.