Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

CLI tool for querying the Weather Underground API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
README.md

// 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>

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.
Something went wrong with that request. Please try again.