wunderground-api-client

    0.1.0 • Public • Published

    wunderground-api-client - a Wunderground weather API Node.js module using Q Promises.

    Access the Wunderground API with Nodejs.

    Dependencies

    API queries return a Promise via Q. The cli depends on optimist.

    Installation

    To install via NPM type the following: npm install wunderground-api-client

    (use npm install -g wunderground-api-client to add a bin script to your path)

    You can also install via git by cloning:

    git clone https://github.com/lukewendling/wunderground-api-client.git /path/to/project

    Usage

    var WunderApi = require('./').WunderApi;
     
    var combined = new WunderApi(APIKEY, null, 'geolookup', 'forecast');
     
    combined.query('TX/Austin')
      .then(function (result) {console.log(result)})
      .fail(function (err) {console.dir(err)})
      .done();
    wunder-api APIKEY TX/Austin --features forecast,geolookup

    Keywords

    none

    Install

    npm i wunderground-api-client

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • lukewendling