lighthouse-client

A NodeJS client for Lighthouse http://lighthouseapp.com

npm install lighthouse-client
4 downloads in the last month

lighthouse-client Build Status

A NodeJS client for Lighthouse

Quick start

Install using npm: npm install lighthouse-client

Configure an instance of the client with some default options:

var lighthouse = require("lighthouse-client").createClient({
  account: "myaccount", // https://myaccount.lighthouseapp.com
  token: "mytoken" // http://help.lighthouseapp.com/kb/api/how-do-i-get-an-api-token
});

Do something cool with it, like list the projects on your account:

lighthouse.listProjects(function(err, projects) {
  projects.forEach(function(project) {
    console.log(project.name + " - " + project.id);
  });
});

Documentation

Required options by all API calls

List all projects on an account

client.listProjects(options, callback)

npm loves you