weathernaut

CLI tool for querying the Weather Underground API

npm install weathernaut
6 downloads in the last week
12 downloads in the last month

// weather(or)naut

weather information in the terminal. data provided by wunderground.com's JSON API.

install

$ npm install -g weathernaut

use

astronomical information (i.e., moon phase, sunrise and sunset times):

$ weathernaut -s astronomy -z [zipcode] -k [your weather underground api key]

basic weather forecast:

$ weathernaut -s forecast -z [zipcode] -k [your weather underground api key] -d [number of days]

hacking + building from source

to build:

$ make clean && make

things to hack:

  • in src/index.coffee, you'll find three classes: Weathernaut, WeathernautStore, and WeathernautDefaultFormatter. you get one guess, so eat your wheaties.

authors / contributors

bryn austin bellomy <bryn.bellomy@gmail.com>

license (WTFPL v2)

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

Copyright (C) 2004 Sam Hocevar [sam@hocevar.net](mailto:sam@hocevar.net)

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.
npm loves you